]> git.ipfire.org Git - thirdparty/coreutils.git/commit
chmod: fix exit status when ignoring symlinks
authorPádraig Brady <P@draigBrady.com>
Fri, 24 Sep 2021 19:57:41 +0000 (20:57 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 24 Sep 2021 22:42:20 +0000 (23:42 +0100)
commite8b56ebd536e82b15542a00c888109471936bfda
tree7c97e6fb49d4811a7dc2c8c3b3839aec6f83c94a
parent6f38c4b27921a57a2bb5d999549411c2abe2fae6
chmod: fix exit status when ignoring symlinks

* src/chmod.c: Reorder enum so CH_NOT_APPLIED
can be treated as a non error.
* tests/chmod/ignore-symlink.sh: A new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/50784
NEWS
src/chmod.c
tests/chmod/ignore-symlink.sh [new file with mode: 0755]
tests/local.mk