[Toybox] [PATCH] chmod: fix -R and dangling symlinks.

enh enh at google.com
Tue Jun 9 10:11:11 PDT 2020


Found trying to run the libc++ tests.

For coreutils, `info chmod` says:

  'chmod' ignores symbolic links encountered during recursive directory
  traversals.

Bug: http://b/155809792
---
 tests/chmod.test   |  7 +++++++
 toys/posix/chmod.c | 20 +++++++++++++-------
 2 files changed, 20 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-chmod-fix-R-and-dangling-symlinks.patch
Type: text/x-patch
Size: 2231 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200609/b4be5510/attachment.bin>


More information about the Toybox mailing list