Subject: Re: clearing suid/sgid bits upon ownership change
To: None <tech-kern@NetBSD.ORG>
From: Rob Windsor <windsor@warthog.com>
List: tech-kern
Date: 12/10/1997 10:05:55
Verily did Frank van der Linden write:
>> Clears any suid or sgid bits if owner or group changes. Even something
>> insane like clearing the suid bit if you change the group ownership.
> No other modern Unix does this? Systems have been doing this for quite a
> while now. To be sure I just checked:
> - Solaris
> - SunOS
> - AIX
> - Irix
> ..and they all do it. Linux does it as well as far as I can see,
> only it only removes the matching sgid/suid pairs. But the source I'm
> looking at is a bit old, perhaps that has changed. BSD/OS seems to
> behave that way as well.
To clarify myself - this behavior is unique to NetBSD (and linux) if it
is done by root.
-- Rob
----------------------------------------
Internet: windsor@warthog.com
Life: Rob@Carrollton.Texas.USA.Earth
The weather is here, wish you were beautiful.