This is the mail archive of the
mailing list for the Cygwin project.
rm fails to remove symbolic links to directories
- From: "Lynn Wilson" <lynn at swcp dot com>
- To: "cygwin" <cygwin at cygwin dot com>
- Date: Wed, 13 Apr 2005 10:04:10 -0600
- Subject: rm fails to remove symbolic links to directories
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?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html