From: davidsen@ariel.crd.GE.COM (william E Davidsen) Subject: Re: clearing SUID bit on writes Date: 8 Sep 1992 18:28:55 GMT
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.