Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 21 Jan 2003 18:33:54.0647 (UTC) FILETIME=[A6FC0E70:01C2C17B] Content-Transfer-Encoding: 8bit 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 . 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/