chown: s-Bits: to clear or not to clear

2013-07-16 Thread Ulrich Windl
Hi folks, I discovered (SLES11 SP2 with kernel 3.0.80) that a chown executed by root (from non-root to non-root user) clears any s-Bits that were set for the old owner. The man page (man 2 chown) says: When the owner or group of an executable file are changed by a non-

chown: s-Bits: to clear or not to clear

2013-07-16 Thread Ulrich Windl
Hi folks, I discovered (SLES11 SP2 with kernel 3.0.80) that a chown executed by root (from non-root to non-root user) clears any s-Bits that were set for the old owner. The man page (man 2 chown) says: When the owner or group of an executable file are changed by a non-