delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/07/16:09:09

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: Shankar Unni <shankarunni AT netscape DOT net>
Subject: Re: What's the problem with find?
Date: Fri, 07 May 2004 12:49:10 -0700
Lines: 18
Message-ID: <c7gp7m$gji$1@sea.gmane.org>
References: <001801c4343e$2d8c4280$1601a8c0 AT Alvyn>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: adsl-64-165-207-59.dsl.snfc21.pacbell.net
User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502)
In-Reply-To: <001801c4343e$2d8c4280$1601a8c0@Alvyn>

Alvyn Liang wrote:

> $ find / -name 'inline*'
> find: /cygdrive/c/Documents and Settings/Administrator: No such file or directory

There's nothing wrong here. It's just that you don't have permission to 
open the Administrator home directory.

On Windows, sometimes you'll see the "no such file or directory" error 
when you try to stat a directory or file to which you have no access. 
Try "ls -l C:/" : you'll see errors like the following:

$ ls -l c:/
ls: c:/hiberfil.sys: No such file or directory
ls: c:/pagefile.sys: No such file or directory
total 1085
-rwxrwx---+   1 Administ Administ        0 Sep  3  2002 AUTOEXEC.BAT
   ...


--
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