delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/16/15:37:40

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
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: deleting a file ending with a dot
Date: Fri, 16 Jan 2004 12:37:01 -0800
Lines: 41
Message-ID: <bu9i2b$jd4$1@sea.gmane.org>
References: <20040116115643 DOT GA28749 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <NUTMEGVGtSPoCX55lLF0000013d AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <20040116135301 DOT GC28749 AT ata DOT cs DOT hacettepe DOT edu DOT tr>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
In-Reply-To: <20040116135301.GC28749@ata.cs.hacettepe.edu.tr>

Baurjan Ismagulov wrote:

> Hello, David!
>
> On Fri, Jan 16, 2004 at 12:05:31PM -0000, Dave Korn wrote:
>
>> Maybe there's a problem with the perms on it? What output do you get from
>> "ls -la file." and from "cacls file." ?
>
> ls: cachedmetrics.: No such file or directory
>
> I don't have cacls installed, but getfacl also says "No such file or 
> directory".
>
>> BTW, this would have been a better bug report...
>
> I'm afraid that this is a Windows feature :) -- to be able to create 
> files and then not to be able to work with them :/ .

If ls and getfacl say there is no file then who are you to question 
their judgment! :-)

All kidding aside, often when I see this what is happening is that the 
file has been deleted but some process has it open. Download Process 
Explorer from the SysInternals site, install and run it then do a search 
for "cachedmetrics". Note there are two searchs: One is a DLL search and 
the other is a handle search. Try both. If you find any processes in the 
list then those processes have the file open. Either kill them or right 
click on the line with that string it in and select File: Close.

Note that if the file is opened via the network (i.e. the process is 
running on host B and is accessing this "cachedmetrics." file via the 
network) then the locally running Process Explorer will not be able to 
find anything. In such a case I think you can simple disconnect or 
otherwise stop file sharing from the local machine, which will prompt 
that other processes have files open and do you wish to disconnect.

(It'd be nice if fuser worked under Cygwin but I realize that might be a 
significant challenge to implement).
-- 
The gene pool could use a little chlorine.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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