delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Tue, 22 May 2001 18:56:51 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | Cygwin List <Cygwin AT cygwin DOT com> |
Subject: | Re: rm -rf dir hangs on SAMBA drive if dir/foo is read-only. |
Message-ID: | <20010522185651.A25000@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | Cygwin List <Cygwin AT cygwin DOT com> |
References: | <002a01c0e2ab$be56f9f0$21c9ca95 AT mow DOT siemens DOT ru> <002b01c0e2ae$90548920$21c9ca95 AT mow DOT siemens DOT ru> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.11i |
In-Reply-To: | <002b01c0e2ae$90548920$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Tue, May 22, 2001 at 03:01:33PM +0400 |
On Tue, May 22, 2001 at 03:01:33PM +0400, Andrej Borsenkow wrote: >Looks like rm problem - it just loops. It is with fileutils-4.0-3: > >mw1g017 AT MW1G17C /mnt/bor/tmp/tst >$ rm -r bar >rm: remove write-protected file `bar/foo'? y >rm: remove write-protected file `bar/foo'? y >rm: remove write-protected file `bar/foo'? y >rm: remove write-protected file `bar/foo'? y >rm: remove write-protected file `bar/foo'? y >rm: remove write-protected file `bar/foo'? y >rm: remove write-protected file `bar/foo'? y >... Bleah. This is apparently due to some "clever" code that I added to cygwin which attempts to deal with removing a file that is already opened by using the windows NT DELETE_ON_CLOSE facility. It doesn't appear to work right on samba shares. The CreateFile/CloseHandle works but the file is never deleted. I have to think about the best way to deal with this. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |