lkml.org 
[lkml]   [1999]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.2.10 chown s-bit change?
In Linux versions up to 2.2.7, changing the owner of a file with
the s-bit set would turn off the s-bit.
With 2.2.10 this behavior is missing:

root@ivory1:~#uname -a
Linux ivory1 2.2.10 #1 Tue Jun 15 10:50:41 MEST 1999 i586 unknown
root@ivory1:~#/bin/ls -al /usr/bin/passwd
-rwsr-xr-x 1 root shadow 32916 May 1 02:23 /usr/bin/passwd
root@ivory1:~#chown nobody.nogroup /usr/bin/passwd
root@ivory1:~#/bin/ls -al /usr/bin/passwd
-rwsr-xr-x 1 nobody nogroup 32916 May 1 02:23 /usr/bin/passwd
root@ivory1:~#chown root.shadow /usr/bin/passwd
root@ivory1:~#/bin/ls -al /usr/bin/passwd
-rwsr-xr-x 1 root shadow 32916 May 1 02:23 /usr/bin/passwd

Is this intended?
Kevin
--
_ | Kevin Ivory | Tel: ++49-551-3700005
|_ |\ | | Service Network GmbH | Fax: ++49-551-3700009
._|ER | \|ET | Hannah-Vogt-Str. | mailto:Ivory@SerNet.de
Service Network | D-37085 Goettingen | http://www.SerNet.de/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.031 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site