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]

Re: rm problem: Directory not empty


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/


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