From: Pádraig Brady Date: Sat, 10 Apr 2010 00:05:39 +0000 (+0100) Subject: doc: mention that "capabilities" are preserved by cp/mv X-Git-Tag: v8.5~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be9a42e7ac4905a84fa18709c76aaadbfbe6108b;p=thirdparty%2Fcoreutils.git doc: mention that "capabilities" are preserved by cp/mv * doc/coreutils.texi (cp invocation): Mention that "capabilities" are preserved 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 2a5f4d4bc1..f549989c1b 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