2.2.10 chown s-bit change?

Kevin Ivory (Ivory@SerNet.de)
Thu, 01 Jul 1999 11:44:51 +0200


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/