looks like doing `chmod 0755` no longer clears sticky bits ... for example:
$ tar xf coreutils-6.3.tar.bz2
$ cd coreutils-6.3
$ ./configure
$ make -C lib
$ make -C src chmod
$ mkdir foo
$ stat -c%a foo
755
$ ./src/chmod -v 2755 foo
mode of `foo' changed to 2755 (rwxr-sr-x)
$ stat -c%a foo
2755
$ ./src/chmod -v 0755 foo
mode of `foo' retained as 2755 (rwxr-sr-x)
$ stat -c%a foo
2755

erm ?
-mike

Attachment: pgphyYGAcoYYG.pgp
Description: PGP signature

_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to