Subject: Re: kern/4662: chown(2) removes SUID/SGID bits
To: Todd Vierling <tv@pobox.com>
From: Greg Hudson <ghudson@mit.edu>
List: netbsd-bugs
Date: 12/10/1997 11:33:24
> SunOS 4.1.x exhibits this behavior, for both root and regular users.
As root:
penguin-lust# uname -a
SunOS penguin-l 4.1.3_U1 32 sun4m
penguin-lust# chmod u+x,u+s foo
penguin-lust# ls -l foo
-rwsr--r-- 1 root 0 Dec 10 11:30 foo
penguin-lust# chown ghudson foo
penguin-lust# ls -l foo
-rwsr--r-- 1 ghudson 0 Dec 10 11:30 foo
penguin-lust# rm foo
I'm getting a serious disconnect between what people are claiming as
facts in this discussion and what I actually experience in testing.
The root/non-root confusion explains some of it, but not this one.
Bothersome.