Right... But why does '-r' still says it's readable?
| [reply] [Watch: Dir/Any] |
You're right. I bet perl is determining readability by calling access(2). From the man page:
access() may not work correctly on NFS file systems with UID mapping
enabled, because UID mapping is done on the server and hidden from the
client, which checks permissions.
and root_squash is a server option. | [reply] [Watch: Dir/Any] [d/l] [select] |
Could be, I guess, but a quick strace shows it does call 'stat' to get the permissions. But I guess that, on it's own, doesn't tell if the root is squashed or not, so there's no way for perl to know.
| [reply] [Watch: Dir/Any] |