delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/21/13:34:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <410-220031221183354576@M2W042.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: rrschulz AT cris DOT com, cygwin AT cygwin DOT com
Subject: Re: Bug in rm -r with locked files
Date: Tue, 21 Jan 2003 13:33:54 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 21 Jan 2003 18:33:54.0647 (UTC) FILETIME=[A6FC0E70:01C2C17B]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0LIY5I27115

Thanks Randall!

Larry

Original Message:
-----------------
From: Randall R Schulz rrschulz AT cris DOT com
Date: Tue, 21 Jan 2003 09:03:16 -0800
To: cygwin AT cygwin DOT com
Subject: Re: Bug in rm -r with locked files


Larry,

Typo alert. It's <http://www.sysinternals.com/>.

Lots of good information and utilities there!

Randall Schulz


At 08:35 2003-01-21, lhall AT pop DOT ma DOT ultranet DOT com wrote:
>You may find the 'handle' utility from www.sysinternal.com a handy (no pun 
>intended :-) ) tool for determining which files are opened by which 
>processes.  This might help you track down what's locking files on you.
>
>In terms of the 'vim' issue, it piqued my interest enough that I did some 
>investigation.  Running Cygwin 1.3.17-1, 1.3.18-1, and today's snapshot 
>all reproduced the hang for me.  So I took a simple step and ran strace on 
>the 'rm' process.  It showed an error code of 5 (Access is denied.) for 
>'C:\tmp\foo\.bar.swp'.  Conclusion: the problem I see here has to do with 
>'vim' locking the recovery file. Adding '-n' to the flags for 'vim' 
>removed the hang.  Corinna, any chance you have your recovery file 
>directories set to something that doesn't include '.'?  If that explains 
>the difference in behavior we're seeing, then I think we'll have solved 
>one mystery and at least have a workaround to the problem.
>
>Larry


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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