From c160afe902c07f5052dbd97c726a997db7fa20c0 Mon Sep 17 00:00:00 2001 From: Ondřej Vašík Date: Wed, 11 Mar 2009 16:08:20 +0100 Subject: 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'. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') 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 -- cgit v1.2.3-70-g09d2