* NEWS: --preserve-root now works with chgrp, chmod, and chown.
commit24852bf5b5e7fd954f2e4d1d08d58575453b48b0
authorJim Meyering <jim@meyering.net>
Thu, 14 Dec 2006 10:09:44 +0000 (14 11:09 +0100)
committerJim Meyering <jim@meyering.net>
Thu, 14 Dec 2006 10:14:25 +0000 (14 11:14 +0100)
tree84eb0a48a2ec2d2b9637fa4d1890f941e4d5e647
parent56007809c35dc4c3d139662578741281e11d0e3b
* NEWS: --preserve-root now works with chgrp, chmod, and chown.
* src/chmod.c (process_file): Do honor the --preserve-root option.
* src/chown-core.c (change_file_owner): Likewise, but here, also
handle the case in which a traversal would go "through" a symlink
to root.  Reported by Matthew M. Boedicker
* tests/chown/preserve-root: Test for the above.
* tests/chown/Makefile.am (TESTS): Add preserve-root.
ChangeLog
NEWS
src/chmod.c
src/chown-core.c
tests/chown/Makefile.am
tests/chown/preserve-root [new file with mode: 0755]