summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-28 07:27:56 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-28 07:27:56 +0000
commit6eb119a91e80ae2e8e40e36e28353dc2f4340f51 (patch)
tree4f8b13f296a4c79a4d7c05c4ed28519ab0430730 /NEWS
parente7583d05d3ed7702fdcefe5f36af44b183e7dab3 (diff)
downloadcoreutils-6eb119a91e80ae2e8e40e36e28353dc2f4340f51.tar.xz
chmod now preserves setuid and setgid bits on directories
if you use a numeric mode with them clear, e.g., "chmod 755 DIR".
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 976afca84..c1cd384f1 100644
--- a/NEWS
+++ b/NEWS
@@ -31,8 +31,10 @@ GNU coreutils NEWS -*- outline -*-
`chmod 755 DIR' and `chmod u=rwx,go=rx DIR' now preserve DIR's
set-user-ID and set-group-ID bits instead of clearing them, and
similarly for `mkdir -m 755 DIR' and `mkdir -m u=rwx,go=rx DIR'. To
- clear the bits, mention them explicitly, e.g., `chmod 0755 DIR' or
- `mkdir -m a-s,u=rwx,go=rx DIR'. This change is for convenience on
+ clear the bits, mention them explicitly in a symbolic mode, e.g.,
+ `mkdir -m u=rwx,go=rx,-s DIR'. To set them, mention them explicitly
+ in either a symbolic or a numeric mode, e.g., `mkdir -m 2755 DIR',
+ `mkdir -m u=rwx,go=rx,g+s' DIR. This change is for convenience on
systems where these bits inherit from parents. Unfortunately other
operating systems are not consistent here, and portable scripts
cannot assume the bits are set, cleared, or preserved, even when the