This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What's the problem with find?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]