commit d047ee7da7f1b9a36ea34c7d064334900b15aac6 Author: Pádraig Brady <p...@draigbrady.com> Date: Sat Apr 10 01:05:39 2010 +0100
doc: mention Linux capabilities are maintained by cp/mv * doc/coreutils.texi (cp invocation): Mention that "Capabilities" are maintained when implemented using extended attributes. (mv invocation): Mention ACLs etc. are maintained due to xattrs being copied. diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 2a5f4d4..3b26022 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -7512,7 +7512,7 @@ if the preserving of SELinux security context is not succesful. @itemx xattr Preserve extended attributes if @command{cp} is built with xattr support, and xattrs are supported and enabled on your file system. -If SELinux context and/or ACLs are implemented using xattrs, +If SELinux context, ACLs or Capabilities are implemented using xattrs, they are preserved by this option as well. @itemx all Preserve all file attributes. @@ -8274,7 +8274,8 @@ the destination partition and the second and third would be left on the original partition. @cindex extended attributes, xattr -...@command{mv} always tries to copy extended attributes (xattr). +...@command{mv} always tries to copy extended attributes (xattr), which may +include SELinux context, ACLs or Capabilities. @cindex prompting, and @command{mv} If a destination file exists but is normally unwritable, standard input