diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2012-11-24 16:04:44 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2012-11-24 18:51:12 +0100 |
commit | 6f374d7c4285d23eb09b5386a5feb94aa25126bb (patch) | |
tree | 8aaec01583a7f0f79307bba7b644d66e1dfa8184 /doc | |
parent | 63d456ce7710f9bc7629a47c8247270cbffd8134 (diff) | |
download | coreutils-6f374d7c4285d23eb09b5386a5feb94aa25126bb.tar.xz |
doc: cp: clarify behavior of the --preserve=xattr option
* doc/coreutils.texi (cp invocation): Enhance documentation
of the --preserve=xattr option regarding the preservation
of ACLs, SELinux contexts and capabilities: the user may
notice this only when not specifying --preserve=mode
and --preserve=context, too, i.e., otherwise, these attributes
are preserved anyway.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 77f97a170..46d36801e 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -7838,7 +7838,8 @@ Preserve SELinux security context of the file, or fail with full diagnostics. Preserve extended attributes of the file, or fail with full diagnostics. If @command{cp} is built without xattr support, ignore this option. If SELinux context, ACLs or Capabilities are implemented using xattrs, -they are preserved by this option as well. +they are preserved implicitly by this option as well, i.e., even without +specifying @option{--preserve=mode} or @option{--preserve=context}. @item all Preserve all file attributes. Equivalent to specifying all of the above, but with the difference |