GNU bug report logs - #5917
[PATCH] doc: mention Linux capabilities are maintained by cp/mv

Previous Next

Package: coreutils;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5917 in the body.
You can then email your comments to 5917 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#5917; Package coreutils. (Sat, 10 Apr 2010 00:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pádraig Brady <P <at> draigBrady.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 10 Apr 2010 00:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Report bugs to <bug-coreutils <at> gnu.org>
Subject: [PATCH] doc: mention Linux capabilities are maintained by cp/mv
Date: Sat, 10 Apr 2010 01:25:41 +0100
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





Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#5917; Package coreutils. (Sun, 11 Apr 2010 12:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 5917 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 5917 <at> debbugs.gnu.org
Subject: Re: bug#5917: [PATCH] doc: mention Linux capabilities are maintained
	by cp/mv
Date: Sun, 11 Apr 2010 14:53:37 +0200
Pádraig Brady wrote:
> 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

Thanks.  That looks fine, but please do s/maintained/preserved/ in the log.

>     * 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




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#5917; Package coreutils. (Sun, 11 Apr 2010 13:31:02 GMT) Full text and rfc822 format available.

Message #11 received at 5917 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: 5917 <at> debbugs.gnu.org
Subject: Re: bug#5917: [PATCH] doc: mention Linux capabilities are maintained
	by cp/mv
Date: Sun, 11 Apr 2010 14:30:25 +0100
On 11/04/10 13:53, Jim Meyering wrote:
> Pádraig Brady wrote:
>> 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
> 
> 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

cheers,
Pádraig.




Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Sun, 11 Apr 2010 17:48:02 GMT) Full text and rfc822 format available.

Notification sent to Pádraig Brady <P <at> draigBrady.com>:
bug acknowledged by developer. (Sun, 11 Apr 2010 17:48:02 GMT) Full text and rfc822 format available.

Message #16 received at 5917-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 5917-done <at> debbugs.gnu.org
Subject: Re: bug#5917: [PATCH] doc: mention Linux capabilities are maintained
	by cp/mv
Date: Sun, 11 Apr 2010 19:46:53 +0200
Pádraig Brady wrote:
> On 11/04/10 13:53, Jim Meyering wrote:
>> Pádraig Brady wrote:
>>> 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
>>
>> 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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 May 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.