Hi,
It seems like both bash's and GNU's test command firs check the permissions
with a stat followed by some get{e,}{u,g}id() calls and then they check with
access(2); while dash doesn't check with access(2).
I tried to understand what the SUSv3 specs require but it is not clear; in any
case the extra check with access(2) sounds right.
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]