This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]