diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-28 07:28:56 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-28 07:28:56 +0000 |
commit | aa24517b5f810c7d2c913a22c0c9714983af8116 (patch) | |
tree | 4960fe49a172e42771883d4e4b0b1962131767ef | |
parent | 6eb119a91e80ae2e8e40e36e28353dc2f4340f51 (diff) | |
download | coreutils-aa24517b5f810c7d2c913a22c0c9714983af8116.tar.xz |
chmod 0755 DIR and chmod 755 DIR are now equivalent.
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | doc/ChangeLog | 13 | ||||
-rw-r--r-- | lib/ChangeLog | 6 |
3 files changed, 29 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2006-07-28 Paul Eggert <eggert@cs.ucla.edu> + + * NEWS: chmod now preserves setuid and setgid bits on directories + if you use a numeric mode with them clear, e.g., "chmod 755 DIR". + Fix test case problems if working directory is setgid, + reported by Bob Proulx. + * tests/cp/fail-perm: Use symbolic mode so that we clear + setgid bit more reliably on directories. + * tests/mkdir/special-1 (set_mode_string): Likewise. + 2006-07-27 Jim Meyering <jim@meyering.net> * src/chgrp.c (usage): Use correct grammar in description of the diff --git a/doc/ChangeLog b/doc/ChangeLog index 97d4ca1cc..7ed09fb5d 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,16 @@ +2006-07-28 Paul Eggert <eggert@cs.ucla.edu> + + * coreutils.texi (install invocation, mkdir invocation): + Add cross-references to Directory Setuid and Setgid. + (install-invocation): The default mode is no longer equivalent to 755. + * perm.texi (Changing Special Mode Bits): Clarify u+s versus + a+s versus +s, and likewise for g+s. + (Numeric Modes): Bring back example of 0055 == 55. 4755 no + longer clears setgid bit on directories. + (Directory Setuid and Setgid): Numeric modes now affect setuid + and setgid on directories only if they set these bits. This + is so that leading 0 has no effect on numeric modes. + 2006-07-26 Jim Meyering <jim@meyering.net> * coreutils.texi (What information is listed): Mention that missing diff --git a/lib/ChangeLog b/lib/ChangeLog index 61ac5fb3c..f9a59d8ce 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,9 @@ +2006-07-28 Paul Eggert <eggert@cs.ucla.edu> + + * modechange.c (mode_compile): Numeric modes now affect setuid and + setgid on directories only if they set these bits. + * modechange.h: Remove obsolete comment about masks. + 2006-07-22 Paul Eggert <eggert@cs.ucla.edu> * close-stream.c, close-stream.h: New files. |