cp -a: diagnose failure when preserving xattr/context required
authorOndřej Vašík <ovasik@redhat.com>
Fri, 24 Apr 2009 12:29:45 +0000 (14:29 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 27 Apr 2009 11:33:42 +0000 (13:33 +0200)
commit1fa226772cb25c9b2bc17480ddb30bb3dd569951
tree0e9d74f55c4069feff0301994201c7d9cdc1a8cc
parent941bd48235cceceb4f1c072e06a4bedd14b5e0b5
cp -a: diagnose failure when preserving xattr/context required

* src/copy.c (copy_attr_by_fs): Always print diagnostics when preserving
xattrs is required.
(copy_attr_by_name): Likewise.
(copy_reg): Always print diagnostics when preserving SELinux
context is required.
(copy_internal): Likewise.  Also, do not ignore ENOTSUP and ENODATA
errors when preserving SELinux context is required.
* NEWS (Bug fixes): Mention it.
NEWS
src/copy.c