doc: fix info on cp --preserve=all, which does _not_ give xattr warnings

The info docs have been inaccurate since 2009-04-17, commit 941bd482,
"mv: ignore xattr-preservation failure when not supported by filesystem"
* doc/coreutils.texi (cp invocation): Say that cp --preserve=all
does _not_ output errors when failing to copy xattrs.
This commit is contained in:
Pádraig Brady committed 2010-03-26 14:19:37 +00:00
1 parent 946359f101
commit 4c38625ef3
1 file changed
+2 -3
+2 -3
View File
@@ -7344,7 +7344,7 @@ directory structure; i.e., @samp{ls -U} may list the entries in a copied
directory in a different order). directory in a different order).
Try to preserve SELinux security context and extended attributes (xattr), Try to preserve SELinux security context and extended attributes (xattr),
but ignore any failure to do that and print no corresponding diagnostic. but ignore any failure to do that and print no corresponding diagnostic.
Equivalent to @option{-dR --preserve=all} with the reduced diagnostics. Equivalent to @option{-dR --preserve=all}.
@item -b @item -b
@itemx @w{@kbd{--backup}[=@var{method}]} @itemx @w{@kbd{--backup}[=@var{method}]}
@@ -7518,8 +7518,7 @@ they are preserved by this option as well.
Preserve all file attributes. Preserve all file attributes.
Equivalent to specifying all of the above, but with the difference Equivalent to specifying all of the above, but with the difference
that failure to preserve SELinux security context or extended attributes that failure to preserve SELinux security context or extended attributes
does not change @command{cp}'s exit status. does not change @command{cp}'s exit status, or produce error messages.
@command{cp} does diagnose such failures.
@end table @end table
Using @option{--preserve} with no @var{attribute_list} is equivalent Using @option{--preserve} with no @var{attribute_list} is equivalent