home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 10005 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  781 b 

  1. Path: sparky!uunet!mcsun!uknet!dsbc!mbm
  2. From: mbm@dsbc.icl.co.uk (Malcolm Mladenovic)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: clearing SUID bit on writes
  5. Message-ID: <814@dsbc.icl.co.uk>
  6. Date: 6 Sep 92 16:16:50 GMT
  7. References: <1992Sep1.170221.17317@athena.mit.edu> <pdhatchm.715665475@syzygy>
  8. Organization: UNIX Centre, ICL, Bracknell, UK
  9. Lines: 10
  10.  
  11. In article <pdhatchm.715665475@syzygy> pdhatchm@socs.uts.edu.au (Paul Hatchman) writes:
  12. >SunOs and the other sys V unixes I 
  13. >have used only clear the setuid / setgid bits when the file is written to by
  14. >a user / group that does not *own* the file.
  15.  
  16. Stock System V prior to SVR4 never cleared the s[ug]id bits on write.  The
  17. current SVR4 clears them unless the writer is the superuser (even if the
  18. writer owns the file).
  19.  
  20. -Malcolm
  21.