delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/16/13:19:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4714F250.1040000@columbus.rr.com>
Date: Tue, 16 Oct 2007 13:18:08 -0400
From: Paul McFerrin <pmcferrin AT columbus DOT rr DOT com>
Reply-To: pmcferrin AT columbus DOT rr DOT com
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Unable to recirsively delete a directory
References: <69D276452CD2904980D5B6AC33C9BE1709492F65 AT gtlbmlexs0006 DOT bagmail DOT net> <4714AEFF DOT 4040509 AT cygwin DOT com>
In-Reply-To: <4714AEFF.4040509@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

I've been seeing this same problem since B20!  It usually involves 
deleting a large directory tree with a few thousand files.  I just 
switch to MS-Dos mode and use their rm command without any problem.  So 
yes, looks like more than one person has seen this problem. 

- Paul

Larry Hall (Cygwin) wrote:
> Michael DOT MacAllister AT empolis DOT com wrote:
>> Hi,
>>
>> I am running XP SP2. I have a drive mapped (z:). See mount output. It is
>> a
>> NAS drive that supports smb.
>>
>> sh-3.2$ mount
>> D:\cygwin\bin on /usr/bin type system (binmode)
>> D:\cygwin\lib on /usr/lib type system (binmode)
>> D:\cygwin on / type system (binmode)
>> c: on /cygdrive/c type system (binmode,noumount)
>> d: on /cygdrive/d type system (binmode,noumount)
>> f: on /cygdrive/f type system (binmode,noumount)
>> y: on /cygdrive/y type system (binmode,noumount)
>> z: on /cygdrive/z type system (binmode,noumount)
>>  
>> I can read and write to the /z drive and I can delete individual files
>> but I
>> can't delete folders (rm -rf anypath) from the cygwin command line. I
>> get the followning error.
>>  
>> $ rm -rf /s/test/
>> rm: cannot remove directory `/s/test/': Directory not empty
>>  
>> I can delete folders if I use windows explorer, or in a Unix xterm. The
>> files belong to the user and are not locked. Does anyone have any ideas?
>
> Let's start here:
>
>> Problem reports:       http://cygwin.com/problems.html
>
> Include in your report a onsistent example and 'cygcheck rm' prior to 
> your
> example showing the problem.  Also, we need to know what kind of network
> drive this is and where it's coming from.  My WAG right now is that 'rm'
> isn't Cygwin's version outside of 'xterm'.
>

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