delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/05/09:47:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Ronald <ynnor AT mm DOT st>
Subject: Re: Can't rm file, but no error message
Date: Mon, 5 Oct 2009 13:46:57 +0000 (UTC)
Lines: 31
Message-ID: <loom.20091005T154217-976@post.gmane.org>
References: <loom DOT 20091005T131351-597 AT post DOT gmane DOT org> <f60fe000910050613q6cc2101ai8c5f9cf3f078be4f AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Mark J. Reed <markjreed <at> gmail.com> writes:

> Obligatory dumb question: you don't happen to have 'rm' aliased to 'rm
> -f', do you?

No.

And, I should have added, that this happens only with this file in 
that directory. Other files "behave normally", so I think it has to
do with the file.

I meanwhile tried an unlink from a Perl program, and here I got the error
message (in $!) that the file "is probably in use by another process".

I have no idea why this file is in used by something (I haven't done
much beside creating it, and then checking the integrity of the archive
with unzip), but what worries me more is why rm does not communicate
the error to the calling process.

> What filesystem?

I think we can derive it from the CYGWIN environment variable, isn't it?
It is set to 'smbntsec'.

The system is a pretty standard Windows 2000 machine, so it should be the 
filesystem which Microsoft usually installs...

Ronald





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019