Bugtraq mailing list archives

Re: FD/overwriting suid files


From: rens () imsi com (Rens Troost)
Date: Tue, 14 Feb 1995 07:59:49 -0500


"Gregg" == Gregg Siegfried <grs () claircom com> writes:
  >>  I always have thought that any good OS will reset any suid/sgid
  >> bits on a file write.  Such is the case for the Solaris 2.4
  >> machine I tested this on.  I think any OS that doesn't do this
  >> has some deep design flaws.

  Gregg> I've been back and forth on this with Sun.  That the setuid
  Gregg> and setgid bits are reset on *any* write, I consider a bug.

It would be bad if setgid bits on a directory were changed on a
directory write!

-Rens



Current thread: