mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-06-01 15:26:29 +02:00
1777d0dfe3
* src/copy.c (copy_reg): Copy xattrs _after_ setting file ownership so that capabilities are not cleared when setting ownership. * tests/cp/capability: A new root test. * tests/Makefile.am (root_tests): Reference the new test. * NEWS: Mention the fix.