diff options
author | Ondřej Vašík <ovasik@redhat.com> | 2009-04-24 14:29:45 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-04-27 13:33:42 +0200 |
commit | 1fa226772cb25c9b2bc17480ddb30bb3dd569951 (patch) | |
tree | 0e9d74f55c4069feff0301994201c7d9cdc1a8cc /NEWS | |
parent | 941bd48235cceceb4f1c072e06a4bedd14b5e0b5 (diff) | |
download | coreutils-1fa226772cb25c9b2bc17480ddb30bb3dd569951.tar.xz |
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.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4,6 +4,11 @@ GNU coreutils NEWS -*- outline -*- ** Bug fixes + cp now diagnoses failure to preserve selinux/xattr attributes when + --preserve=context,xattr is specified in combination with -a. + Also, cp no longer suppresses attribute-preservation diagnostics + when preserving SELinux context was explicitly requested. + sort -m no longer segfaults when its output file is also an input file. E.g., with this, touch 1; sort -m -o 1 1, sort would segfault. [introduced in coreutils-7.2] |