GNU bug report logs - #21130
test fail: 'tests/ls/stat-failed'

Previous Next

Package: coreutils;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Fri, 24 Jul 2015 21:47:01 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 21130 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Assaf Gordon <assafgordon <at> gmail.com>, Pádraig Brady
 <P <at> draigBrady.com>
Cc: 21130 <at> debbugs.gnu.org
Subject: Re: bug#21130: test fail: 'tests/ls/stat-failed'
Date: Sat, 25 Jul 2015 18:26:47 -0700
Assaf Gordon wrote:
> $ ./src/ls -Log d
> ./src/ls: cannot access d/file: Permission denied
> ./src/ls: cannot access d/chardev: Permission denied
> ./src/ls: cannot access d/blockdev: Permission denied
> ./src/ls: cannot access d/s: Permission denied
> total 0
> ?????????? ? ?            ? blockdev

Arguably this is a better result than what we normally get, and our test 
framework should allow it.

The argument is that if a directory is not searchable, an application should be 
able to discover its files' names (as they belong to the directory and not to 
the files), but not the files' attributes (as they belong to the files, not to 
the directory).  Admittedly this is a fine distinction.




This bug report was last modified 9 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.