Alan Sundell wrote:
> bash's "test" builtin can report the wrong results in many
> circumstances (e.g. read-only filesystems, noexec filesystems, ACLs,
> NFS, AFS, setuid executables, etc) because it uses stat() rather than
> access() for the unary -w, -r, -x, etc.
>
> Could the eaccess/euidaccess
bash's "test" builtin can report the wrong results in many
circumstances (e.g. read-only filesystems, noexec filesystems, ACLs,
NFS, AFS, setuid executables, etc) because it uses stat() rather than
access() for the unary -w, -r, -x, etc.
This has come up before:
http://lists.gnu.org/archive/html/b