Usefulness of access(2) - (nf)

gwyn%brl-vld at sri-unix.UUCP gwyn%brl-vld at sri-unix.UUCP
Thu Sep 29 12:31:15 AEST 1983


From:      Doug Gwyn (VLD/VMB) <gwyn at brl-vld>

That is correct behavior, since you were asking for a way to check
access for the effective UID.  Set-UID root makes your effective UID 0,
trying to access the file wins, and that is correct.



More information about the Comp.unix.wizards mailing list