Red Hat Bugzilla – Bug 1031423
No system /etc/xattr.conf provided to exclude copying certain extended attributes
Last modified: 2016-01-04 09:42:03 EST
Created attachment 825281 [details]
sample xattr.conf from http://marc.info/?l=linux-xfs&m=119359384800408
I noticed that cp and mv with --preserve=xattr will copy system.posix_acl_access extended attributes, which can have side effects with permissions.
This is a little surprising and divergent from other systems that provide the attaced /etc/xattr.conf
There is also security.selinux extended attributes to consider here.
It might be argued that they might be excluded from such copies also,
given that they're otherwise handled by cp and mv at least.
I have asked upstream to include the file into their distribution of attr:
fixed in attr-2.4.47-4.fc21