]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
chmod 0755 DIR and chmod 755 DIR are now equivalent.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 28 Jul 2006 07:28:56 +0000 (07:28 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 28 Jul 2006 07:28:56 +0000 (07:28 +0000)
ChangeLog
doc/ChangeLog
lib/ChangeLog

index ea8249f71e2236ea70758de6afea72f3a267331e..e6a43dec1ea9cd649bb5dc6fc9bdbfe97bb8b875 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 97d4ca1cc670dcd59ad150df411e8ec0757c8180..7ed09fb5dbed74055f8d972bb1a348b1b75f69c8 100644 (file)
@@ -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
index 61ac5fb3cedb7888cc78b6e19e14604d54a7e31d..f9a59d8ce90603cf5033e6f33bbc9df800d43d8f 100644 (file)
@@ -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.