ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13353] - <delete> follows symbolic links to directories at risk of great data loss!
Date Thu, 10 Oct 2002 23:50:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13353>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13353

<delete> follows symbolic links to directories at risk of great data loss!





------- Additional Comments From JimWright@quick.cz  2002-10-10 23:50 -------
Sorry, original comments about bug being introduced since August were probably
wrong. There is some discussion about something similar here:

http://marc.theaimsgroup.com/?l=ant-dev&m=102953577003770&w=2

but no sign of any such changes in taskdefs.Delete.removeDir(File) or exec().

My <delete> task was <delete dir="test/unit/output"/> and I haven't tried a
fileset but think that even if there is a way of not deleting symbolic links, it
is still a bug. It seems to me that any cases where you want to follow a
symbolic link to directory and delete files (because you are not picking them up
directly) are very obscure.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message