diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-08-18 13:54:48 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-08-18 13:54:48 +0100 |
commit | bd75118c16d8bca235b61dbb99326c043278a791 (patch) | |
tree | 42926fb4f780e2d6816928741317ec349a4f1764 /NEWS | |
parent | 3e71b0657760825d4c3a356df67a59fc6bc57ec6 (diff) | |
download | coreutils-bd75118c16d8bca235b61dbb99326c043278a791.tar.xz |
cp: with --parents --no-preserve=mode don't copy dir perms
* src/cp.c (make_dir_parents_private): Use default permissions for
created directories when --no-preserve=mode is specified.
* tests/cp/cp-parents.sh: Add a test case.
* NEWS: Mention the fix.
Fixes http://bugs.gnu.org/24251
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,6 +8,10 @@ GNU coreutils NEWS -*- outline -*- handling ACLs on Cygwin and Solaris platforms. [bug introduced in coreutils-8.24] + cp --parents --no-preserve=mode, no longer copies permissions from source + directories, instead using default permissions for created directories. + [bug introduced in coreutils-5.93] + chcon, chgrp, chmod, chown, du, and rm, or specifically utilities using the FTS interface, now diagnose failures returned by readdir(). [this bug was inherent in the use of fts: thus, for rm the bug was |