|
From: | Ernest N. Mamikonyan |
Subject: | cp(1) extended attributes bug |
Date: | Mon, 31 Aug 2009 14:09:24 -0400 |
User-agent: | Opera Mail/10.10 (Linux) |
Cp(1) doesn't correctly copy extended attributes for read-only files: touch foo setfattr -n user.key -v value foo chmod a-w foo cp --preserve=xattr foo bar cp: setting attribute `user.key' for `user.key': Permission deniedIf one uses "cp -a" instead, it simply strips the metadata and doesn't complain.
[Prev in Thread] | Current Thread | [Next in Thread] |