summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--doc/ChangeLog13
-rw-r--r--lib/ChangeLog6
3 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ea8249f71..e6a43dec1 100644
--- 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
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.