This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: rm problem: Directory not empty
- From: Larry Hall <lh-no-personal-replies-please at cygwin dot com>
- To: "Maloney, Michael" <mmaloney at rsasecurity dot com>, <cygwin at cygwin dot com>
- Date: Mon, 12 Sep 2005 12:54:47 -0400
- Subject: Re: rm problem: Directory not empty
- References: <017630AA6DF2DF4EBC1DD4454F8EE29705C124BC@rsana-ex-hq1.NA.RSA.NET>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
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/