This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: What's the problem with find?
- From: Shankar Unni <shankarunni at netscape dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 07 May 2004 12:49:10 -0700
- Subject: Re: What's the problem with find?
- References: <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/