mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
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:
@@ -7344,7 +7344,7 @@ directory structure; i.e., @samp{ls -U} may list the entries in a copied
|
||||
directory in a different order).
|
||||
Try to preserve SELinux security context and extended attributes (xattr),
|
||||
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
|
||||
@itemx @w{@kbd{--backup}[=@var{method}]}
|
||||
@@ -7518,8 +7518,7 @@ they are preserved by this option as well.
|
||||
Preserve all file attributes.
|
||||
Equivalent to specifying all of the above, but with the difference
|
||||
that failure to preserve SELinux security context or extended attributes
|
||||
does not change @command{cp}'s exit status.
|
||||
@command{cp} does diagnose such failures.
|
||||
does not change @command{cp}'s exit status, or produce error messages.
|
||||
@end table
|
||||
|
||||
Using @option{--preserve} with no @var{attribute_list} is equivalent
|
||||
|
||||
Reference in New Issue
Block a user