delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/07/12:45:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 7 Mar 2012 18:44:23 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Still a problem with 'ls' in root, with Cygwin 1.7.11-1
Message-ID: <20120307174423.GA19570@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4F579AC1 DOT 4050301 AT veritech DOT com>
MIME-Version: 1.0
In-Reply-To: <4F579AC1.4050301@veritech.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Mar  7 12:28, Lee D. Rothstein wrote:
> For example:
> --
> [/]
> [lr AT GW2] PID=3508 #jobs=0  2012-03-07, 12:18:57
> $ pwd
> /
> 
> [/]
> [lr AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019