Subject: bug#5917 closed by Jim Meyering <[email-masked]> (Re: bug#5917: [PATCH] doc: mention Linux capabilities are maintained by cp/mv)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 11 Apr 2010 17:48:02 +0000

This is an automatic notification regarding your bug report
which was filed against the coreutils package:

#5917: [PATCH] doc: mention Linux capabilities are maintained by cp/mv

It has been closed by Jim Meyering <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Jim Meyering <[email-masked]> by
replying to this email.

-- 
5917: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5917
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#5917: [PATCH] doc: mention Linux capabilities are maintained by cp/mv
From: Jim Meyering <[email-masked]>
To: Pádraig Brady <[email-masked]>
Cc: [email-masked]
Date: Sun, 11 Apr 2010 19:46:53 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Pádraig Brady wrote:
> On 11/04/10 13:53, Jim Meyering wrote:
>> Pádraig Brady wrote:
>>> commit d047ee7da7f1b9a36ea34c7d064334900b15aac6
>>> Author: Pádraig Brady <[email-masked]>
>>> Date:   Sat Apr 10 01:05:39 2010 +0100
>>>
>>>     doc: mention Linux capabilities are maintained by cp/mv
>>
>> Thanks.  That looks fine, but please do s/maintained/preserved/ in the log.
>
> I also removed any mention of Linux since it's not
> a Linux specific feature. log is now:
>
> doc: mention "capabilities" are preserved by cp/mv

Thanks!

Subject: [PATCH] doc: mention Linux capabilities are maintained by cp/mv
From: Pádraig Brady <[email-masked]>
To: Report bugs to <[email-masked]>
Date: Sat, 10 Apr 2010 01:25:41 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

commit d047ee7da7f1b9a36ea34c7d064334900b15aac6
Author: Pádraig Brady <[email-masked]>
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