diff options
author | Jim Meyering <meyering@redhat.com> | 2009-11-07 08:09:12 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-11-07 08:43:00 +0100 |
commit | d9dbbb9a455f6bfc4e09d9f5f6c6c633f1b03c52 (patch) | |
tree | 54ab2f41b2d2de1918d2b18913df819d0b6cfbba /NEWS | |
parent | 74cf4cb26dcecd36eb45dc00dbd4587d9dc24a2f (diff) | |
download | coreutils-d9dbbb9a455f6bfc4e09d9f5f6c6c633f1b03c52.tar.xz |
chcon, chgrp, chmod and chown now diagnose a directory cycle
* lib/xfts.c (cycle_warning_required): New function.
* lib/xfts.h: Declare it.
* src/chown-core.c (change_file_owner): Diagnose a cycle.
* src/chmod.c (process_file): Likewise.
* src/chcon.c (process_file): Likewise.
* NEWS (Bug fixes): Mention this.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,8 +8,9 @@ GNU coreutils NEWS -*- outline -*- Even then, chcon may still be useful. [bug introduced in coreutils-8.0] - du now diagnoses an ostensible directory cycle and arranges to exit nonzero. - Before, it would silently ignore the offending directory and all "contents." + chcon, chgrp, chmod, chown and du now diagnose an ostensible directory cycle + and arrange to exit nonzero. Before, they would silently ignore the + offending directory and all "contents." env -u A=B now fails, rather than silently adding A to the environment. Likewise, printenv A=B silently ignores the invalid |