bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Eggert
Subject: bug#21130: test fail: 'tests/ls/stat-failed'
Date: Sat, 25 Jul 2015 18:26:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]