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 36658] New: - Delete task follows symlinks - bad behavior
Date Wed, 14 Sep 2005 16:43:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36658>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36658

           Summary: Delete task follows symlinks - bad behavior
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: elkner@linofee.org


If one uses <delete dir="${build.dir}"/> the delete task follows symlinks and
thus deletes files, which shouldn't be deleted. If one uses a fileset and
disables followsymlinks, symlinks are not followed, however the links itself are
not deleted and thus the delete task does not do, what it should.

I'll attach a fix suggestion for the <delete dir="${build.dir}"/> task (since
this is actually, what I really need), for filesets it probably needs a little
bit more work ...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message