GNU bug report logs -
#5917
[PATCH] doc: mention Linux capabilities are maintained by cp/mv
Previous Next
Reported by: Pádraig Brady <P <at> draigBrady.com>
Date: Sat, 10 Apr 2010 00:27:01 UTC
Severity: normal
Tags: patch
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
commit d047ee7da7f1b9a36ea34c7d064334900b15aac6
Author: Pádraig Brady <P <at> 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
This bug report was last modified 15 years and 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.