| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Server-Uuid: | 2C1074A8-2B28-4DE3-9F7D-FF40AE090BA2 |
| Message-ID: | <425D42FA.2070009@swcp.com> |
| Date: | Wed, 13 Apr 2005 10:04:10 -0600 |
| From: | "Lynn Wilson" <lynn AT swcp DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
| MIME-Version: | 1.0 |
| To: | "cygwin" <cygwin AT cygwin DOT com> |
| Subject: | rm fails to remove symbolic links to directories |
| X-PMX-Version: | 4.7.1.128075, Antispam-Engine: 2.0.3.1, Antispam-Data: 2005.4.13.7 |
| X-WSS-ID: | 6E439D771981069170-01-01 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |