X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4715053D.8090407@cygwin.com>
Date: Tue, 16 Oct 2007 14:38:53 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Unable to recirsively delete a directory
References: <69D276452CD2904980D5B6AC33C9BE1709492F65@gtlbmlexs0006.bagmail.net> <4714AEFF.4040509@cygwin.com> <4714F250.1040000@columbus.rr.com>
In-Reply-To: <4714F250.1040000@columbus.rr.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Paul McFerrin wrote:
> Larry Hall (Cygwin) wrote:
>> Michael.MacAllister wrote:

<snip>

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


I'll extend the same invitation to you as well then.  If you can provide
a reproducible problem report, that would be helpful.  Please use don't
provide it in the context of B20 though. ;-)


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

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

