bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

chmod no longer clears sticky bit


From: Mike Frysinger
Subject: chmod no longer clears sticky bit
Date: Sat, 30 Sep 2006 19:07:00 -0400
User-agent: KMail/1.9.4

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: pgpnlgoQ3bhTk.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]