From bd75118c16d8bca235b61dbb99326c043278a791 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Thu, 18 Aug 2016 13:54:48 +0100 Subject: 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 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c0e0d371a..34a969e8a 100644 --- a/NEWS +++ b/NEWS @@ -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 -- cgit v1.2.3-54-g00ecf