summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorDylan Simon <dylan@dylex.net>2014-03-18 11:50:29 -0400
committerPádraig Brady <P@draigBrady.com>2014-03-19 02:33:44 +0000
commit09eda9ed9d386f3aa84bfff1699cc4cfcec8647e (patch)
tree5909449e495d5080b7999c2c6dd65ff7e6033271 /NEWS
parent5b790fda0e3781746451031284ce9730d79c9a89 (diff)
downloadcoreutils-09eda9ed9d386f3aa84bfff1699cc4cfcec8647e.tar.xz
chmod: fix erroneous warnings with -R --changes
For files with "special" bits set, we would stat the relative file name in the wrong directory, giving an erroneous ENOENT diagnostic. This issue was introduced with commit v5.92-653-gc1994c1 which changed fts to not change directory on traversal. * src/chmod.c (mode_changed): Use fts->fts_cwd_fd with fstatat rather than stat. All callers changed. * tests/chmod/c-option.sh: Add a test case. * NEWS: Mention the fix. Fixes http://bugs.gnu.org/17035
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 35d48e52b..c2caa427e 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ GNU coreutils NEWS -*- outline -*-
** Bug fixes
+ chmod -Rc no longer issues erroneous warnings for files with special bits set.
+ [bug introduced in coreutils-6.0]
+
cp -a, mv, and install --preserve-context, once again set the correct SELinux
context for existing directories in the destination. Previously they set
the context of an existing directory to that of its last copied descendent.