From: mbm@dsbc.icl.co.uk (Malcolm Mladenovic) Subject: Re: clearing SUID bit on writes Date: 6 Sep 1992 16:16:50 GMT
In article <pdhatchm.715665475@syzygy> pdhatchm@socs.uts.edu.au (Paul Hatchman) writes:
>SunOs and the other sys V unixes I
>have used only clear the setuid / setgid bits when the file is written to by
>a user / group that does not *own* the file.
Stock System V prior to SVR4 never cleared the s[ug]id bits on write. The
current SVR4 clears them unless the writer is the superuser (even if the
writer owns the file).
-Malcolm