diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-17 03:02:45 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-17 03:02:45 +0000 |
commit | 999eeed90f8e614cad8f52657d5fc4b3a611213e (patch) | |
tree | db8c455f5ace9bc5f4a6e5630535970787a33aa7 /NEWS | |
parent | c5b63944017c73f191ba8d894109a2bad2174751 (diff) | |
download | coreutils-999eeed90f8e614cad8f52657d5fc4b3a611213e.tar.xz |
chmod, install, and mkdir now leave setgid and setuid bits
of directories alone unless you specify them explicitly.
install and mkdir now implement X correctly.
install now creates parent directories with mode 755, without
changing their owner or group.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -26,6 +26,14 @@ GNU coreutils NEWS -*- outline -*- basename and dirname now treat // as different from / on platforms where the two are distinct. + chmod, install, and mkdir now leave a directory's set-user-ID and + set-group-ID bits alone unless you explicitly request otherwise. + This is for compatibility with BSD and other systems. For example, + `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. If + you want to clear the bits you can mention them explicitly, e.g., + `chmod 0755 DIR' and `chmod a-s,u=rwx,go=rx DIR'. + `cp --link --no-dereference' now works also on systems where the link system call cannot create a hard link to a symbolic link. This change has no effect on systems with a Linux-based kernel. @@ -51,6 +59,14 @@ GNU coreutils NEWS -*- outline -*- used only for internal errors (such as integer overflow, which expr now checks for). + install and mkdir now implement the X permission symbol correctly, + e.g., `mkdir -m a+X dir'; previously the X was ignored. + + install now creates parent directories with mode u=rwx,go=rx (755) + instead of using the mode specified by the -m option; and it does + not change the owner or group of parent directories. This is for + compatibility with BSD and closes some race conditions. + ln now uses different (and we hope clearer) diagnostics when it fails. ln -v now acts more like FreeBSD, so it generates output only when successful and the output is easier to parse. |