On Saturday 30 September 2006 19:07, Mike Frysinger wrote: > looks like doing `chmod 0755` no longer clears sticky bits ...
seems to arise from lib/modechange.c:mode_adjust() ... particularly:
mode_t omit_change =
(dir ? S_ISUID | S_ISGID : 0) & ~ changes->mentioned;
omit_change here is set to 06000 ... so when that is inverted and masked
against the requested 02755, the requested changes become simply 00755 ...
-mike
pgphpA5OV0vCG.pgp
Description: PGP signature
_______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
