rm fails to remove symbolic links to directories
Lynn Wilson
lynn@swcp.com
Wed Apr 13 16:55:00 GMT 2005
Just upgraded to the latest versions moments ago.
I had created a symbolic link to a directory some time ago.
If I try and remove the symlink using Bash I get the following error:
rm: cannot remove directory `xxxxx/': Is a directory
If I then empty the contents of the directory and repeat the 'rm xxxxx' command
I get the same error. Trying 'rm -df xxxxx' also failed.
I saw several symlink changes last week that effected how 'ant' (ant.sh) no
longer worked when $ANT_HOME was a symlink to the real path. Changing to the
real path rather than the symlink was a work-around for that problem.
Is there a work-around for not being able to remove symbolic links to directories?
Thanks.
Lynn
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list