On 07/25/2015 07:57 PM, Paul Eggert wrote:
Assaf Gordon wrote:
it seems that the returned type is always 'directory':
<...>
Is the bug reproducible on a more-modern Linux kernel?
<...>
If the bug doesn't appear in 3.2 or newer, I wouldn't worry about it.
Thanks for the pointer - on another machine with newer kernel (mounting the
same NFS share) the reported type is 'unknown'.
===
$ uname -a
Linux xxxx 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64
GNU/Linux
$ ./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
?????????? ? ? ? chardev
?????????? ? ? ? file
?????????? ? ? ? s
===