delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/12/12:55:54

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050912125305.04417638@pop.prospeed.net>
Date: Mon, 12 Sep 2005 12:54:47 -0400
To: "Maloney, Michael" <mmaloney AT rsasecurity DOT com>, <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: rm problem: Directory not empty
In-Reply-To: <017630AA6DF2DF4EBC1DD4454F8EE29705C124BC@rsana-ex-hq1.NA.R SA.NET>
References: <017630AA6DF2DF4EBC1DD4454F8EE29705C124BC AT rsana-ex-hq1 DOT NA DOT RSA DOT NET>
Mime-Version: 1.0

At 11:29 AM 9/12/2005, you wrote:

>I've seen a bunch of similar posts online but I don't see any fixes or
>resolutions. When ever I try to recursively delete a directory, I get
>the following error:
>
>$ rm -rfv endorsed
>removed `endorsed/xalan.jar'
>removed `endorsed/xercesImpl.jar'
>removed `endorsed/xmlParserAPIs.jar'
>rm: cannot remove directory `endorsed': Directory not empty
>
>I also tried the -d option and that didn't work either. In verbose, it
>says that the files in the directory have been deleted but they really
>are not.
>
>Any help?


Welcome to Windows.  Some other app has these files locked open.  You'll
need to find out what that app is and terminate it.  You may find "handle"
from <http://sysinternals.com/> helpful in finding this info.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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