summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorOndřej Vašík <ovasik@redhat.com>2009-03-11 16:08:20 +0100
committerJim Meyering <meyering@redhat.com>2009-03-11 17:32:44 +0100
commitc160afe902c07f5052dbd97c726a997db7fa20c0 (patch)
tree3a63eb8e7bf75eb1d61d65a50c4c40f9e3c43847 /NEWS
parentcf0bb5e05d89d9239a819b696a85532a582c8d38 (diff)
downloadcoreutils-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--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 540c5a3cb..766f2716b 100644
--- a/NEWS
+++ b/NEWS
@@ -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