diff options
author | Ondřej Vašík <ovasik@redhat.com> | 2009-03-11 16:08:20 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-03-11 17:32:44 +0100 |
commit | c160afe902c07f5052dbd97c726a997db7fa20c0 (patch) | |
tree | 3a63eb8e7bf75eb1d61d65a50c4c40f9e3c43847 /NEWS | |
parent | cf0bb5e05d89d9239a819b696a85532a582c8d38 (diff) | |
download | coreutils-c160afe902c07f5052dbd97c726a997db7fa20c0.tar.xz |
cp: make -a option preserve xattrs, but with reduced diagnostics
* copy.c (copy_attr_by_fd): Reduce xattr diagnostics for 'cp -a'.
(copy_attr_by_name): Likewise.
* cp.c (main): Preserve xattrs with -a option, when possible.
* doc/coreutils.texi: Document that xattrs are preserved with
cp -a, with no added diagnostics.
* NEWS: Mention the change.
* tests/misc/xattr: Add tests for 'cp --preserve=all' and 'cp -a'.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,10 @@ GNU coreutils NEWS -*- outline -*- at a time. This was seen to increase throughput. Up to 2 times when reading cached files on linux for example. + cp -a now tries to preserve extended attributes (xattr), but does not + diagnose xattr-preservation failure. However, cp --preserve=all still does. + + * Noteworthy changes in release 7.1 (2009-02-21) [stable] ** New features |