delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/13/13:08:42

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
Date: Wed, 13 Apr 2005 19:08:15 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: rm fails to remove symbolic links to directories
Message-ID: <20050413170815.GO22241@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <425D42FA DOT 2070009 AT swcp DOT com>
Mime-Version: 1.0
In-Reply-To: <425D42FA.2070009@swcp.com>
User-Agent: Mutt/1.4.2i

On Apr 13 10:04, Lynn Wilson wrote:
> rm: cannot remove directory `xxxxx/': Is a directory
> [...]
> 
> Is there a work-around for not being able to remove symbolic links to 
> directories?

$ mkdir blah
$ ln -s blah blub
$ rm blub/
rm: cannot remove directory `blub/': Is a directory
$ rm blub
$ ls -l blub
$ ls: blub: No such file or directory


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019