Subject: Re: kern/4662: chown(2) removes SUID/SGID bits
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Rob Windsor <windsor@warthog.com>
List: netbsd-bugs
Date: 12/10/1997 14:04:34
Verily did Jason Thorpe write:

> On Tue, 9 Dec 1997 21:50:11 -0600 (CST) 
>  windsor@warthog.com wrote:
> 
>  > >Synopsis:       chown(2) removes SUID/SGID bits

> >From chown(2):

>      chown(), lchown() and fchown() clear the set-user-id and set-group-id
>      bits on the file to prevent accidental or mischievous creation of set-us-
>      er-id and set-group-id programs.

> This is a feature, not a bug.

Which is why I filed a change-request.

-- Rob
----------------------------------------
Internet: windsor@warthog.com
Life: Rob@Carrollton.Texas.USA.Earth

The weather is here, wish you were beautiful.