home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!dsbc!mbm
- From: mbm@dsbc.icl.co.uk (Malcolm Mladenovic)
- Newsgroups: comp.os.linux
- Subject: Re: clearing SUID bit on writes
- Message-ID: <814@dsbc.icl.co.uk>
- Date: 6 Sep 92 16:16:50 GMT
- References: <1992Sep1.170221.17317@athena.mit.edu> <pdhatchm.715665475@syzygy>
- Organization: UNIX Centre, ICL, Bracknell, UK
- Lines: 10
-
- 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
-