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 Subject: Re: Can't rm file, but no error message Date: Mon, 5 Oct 2009 13:46:57 +0000 (UTC) Lines: 31 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 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 Mark J. Reed 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