delorie.com/archives/browse.cgi | search |
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: | <5.2.0.9.2.20030121090208.02c70e60@pop3.cris.com> |
X-Sender: | rrschulz AT pop3 DOT cris DOT com |
Date: | Tue, 21 Jan 2003 09:03:16 -0800 |
To: | cygwin AT cygwin DOT com |
From: | Randall R Schulz <rrschulz AT cris DOT com> |
Subject: | Re: Bug in rm -r with locked files |
In-Reply-To: | <232810-220031221163510989@M2W098.mail2web.com> |
Mime-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |