home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!ariel!davidsen
- From: davidsen@ariel.crd.GE.COM (william E Davidsen)
- Newsgroups: comp.os.linux
- Subject: Re: clearing SUID bit on writes
- Message-ID: <1992Sep8.182855.17689@crd.ge.com>
- Date: 8 Sep 92 18:28:55 GMT
- References: <1992Sep1.170221.17317@athena.mit.edu> <pdhatchm.715665475@syzygy> <814@dsbc.icl.co.uk>
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: davidsen@crd.ge.com (bill davidsen)
- Organization: GE Corporate R&D Center, Schenectady NY
- Lines: 15
- Nntp-Posting-Host: ariel.crd.ge.com
-
- In article <814@dsbc.icl.co.uk>, mbm@dsbc.icl.co.uk (Malcolm Mladenovic) writes:
-
- | 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).
-
-
- I can live with that. Checking for owner is nice, but as long as the
- bits get cleared when the file is written I'm happy. Of course I can't
- think of a good reason to allow changing the file at all, but I've seen
- some bad ones mentioned.
-
- --
- bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
- I admit that when I was in school I wrote COBOL. But I didn't compile.
-