summaryrefslogtreecommitdiff
path: root/tests/sample-test
diff options
context:
space:
mode:
authorOndřej Vašík <ovasik@redhat.com>2009-09-14 14:12:01 +0100
committerPádraig Brady <P@draigBrady.com>2009-09-14 14:19:03 +0100
commitcca83fafa69eb26db458714830b77498b88af8a4 (patch)
tree6802df397ac2c1c59ed50c58aed04d823b0d8e59 /tests/sample-test
parenteb1299481aeda0c1b10d0186e00a088597e603a8 (diff)
downloadcoreutils-cca83fafa69eb26db458714830b77498b88af8a4.tar.xz
cp,mv: preserve extended attributes even for read-only files
* src/copy.c (copy_reg): Temporarily set u+rw on the destination file to allow GNU/Linux to set xattrs. * tests/misc/xattr: Test that change. * NEWS (Bug fixes): Mention it. Reported by Ernest N. Mamikonyan.
Diffstat (limited to 'tests/sample-test')
0 files changed, 0 insertions, 0 deletions