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=41525>. 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=41525 Summary: Unable to delete symlink when permissions incorrect on target Product: Ant Version: 1.6.5 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] The symlink allows to create a link pointing to a directory which you can't write to, which is normal. But when you try to delete this link using the symlink task (action="delete"), you get the following error : java.io.IOException: Couldn't return resource /foo/symlink54528369.tmp to its original name: /foo/target THE RESOURCE'S NAME ON DISK HAS BEEN CHANGED BY THIS ERROR! Which makes sense, I guess. If I have understood how does the symlink task work, it tries to break the link by renaming the target. Of course, as we don't have the permission to rename the target here, it can't possibly work.. Workaround : use the exec task to remove the link -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]