This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Still a problem with 'ls' in root, with Cygwin 1.7.11-1
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 7 Mar 2012 18:44:23 +0100
- Subject: Re: Still a problem with 'ls' in root, with Cygwin 1.7.11-1
- References: <4F579AC1.4050301@veritech.com>
- Reply-to: cygwin at cygwin dot com
On Mar 7 12:28, Lee D. Rothstein wrote:
> For example:
> --
> [/]
> [lr@GW2] PID=3508 #jobs=0 2012-03-07, 12:18:57
> $ pwd
> /
>
> [/]
> [lr@GW2] PID=3508 #jobs=0 2012-03-07, 12:19:36
> $ ls -l
> ls: reading directory .: No such file or directory
> total 2008
> drwxrwx---+ 1 lr root 0 Jan 10 23:10 _C
> drwxrwx---+ 1 lr root 0 Mar 6 23:39 _root_files
> drwxrwx---+ 1 lr root 0 Mar 6 18:22 bin
> drwxrwxr-x+ 1 lr root 0 Sep 22 14:07 dev
> drwxrwxr-x+ 1 lr root 0 Mar 6 18:25 etc
> drwxrwx---+ 1 lr root 0 May 19 2011 home
> drwxrwxr-x+ 1 lr root 0 Mar 6 18:12 lib
> drwxr-xr-x+ 1 lr root 0 Oct 10 18:28 local
> drwxr-xr-x+ 1 lr root 0 May 19 2011 opt
> drwxr-xr-x+ 1 lr root 0 May 19 2011 sbin
> drwx------+ 1 lr root 0 Jul 9 2009 srv
> drwxrwxrwt+ 1 lr root 0 Mar 7 12:19 tmp
> drwxrwx---+ 1 lr root 0 Mar 5 22:18 usr
> drwxrwxrwt+ 1 lr root 0 Dec 21 10:59 var
> dr-xr-xr-x 1 lr None 0 Mar 7 12:19 z
> drwxr-xr-x+ 1 lr root 0 Mar 31 2010 zup
This is obviously not a generic problem. It works for me and, probably,
for most others. What are the actual permissions? Does `stat .' work?
If not, what does strace show?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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