clearing SUID and SGID bits on non-root write
Rich Stevens
rstevens at noao.edu
Thu Dec 6 00:57:59 AEST 1990
BSD-based systems (SunOS and 4.3BSD, for example) specifically state
on the chmod(2) man page that a non-superuser process writing to a
file automatically clears the SUID and SGID bits. That makes sense.
But, in going through the SVID (Third Edition) and the SVR4 manuals,
I can't find any reference to this feature. Do the AT&T Unices really
not do this ?
Rich Stevens (rstevens at noao.edu)
More information about the Comp.unix.internals
mailing list