From unknown Mon Jun 23 07:47:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5917 <5917@debbugs.gnu.org> To: bug#5917 <5917@debbugs.gnu.org> Subject: Status: [PATCH] doc: mention Linux capabilities are maintained by cp/mv Reply-To: bug#5917 <5917@debbugs.gnu.org> Date: Mon, 23 Jun 2025 14:47:56 +0000 retitle 5917 [PATCH] doc: mention Linux capabilities are maintained by cp/mv reassign 5917 coreutils submitter 5917 P=C3=A1draig Brady
severity 5917 normal
tag 5917 patch
thanks
From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 09 20:26:06 2010
Received: (at submit) by debbugs.gnu.org; 10 Apr 2010 00:26:06 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.69)
(envelope-from ) id 1O0OWS-0003U4-TV
for submit@debbugs.gnu.org; Fri, 09 Apr 2010 20:26:05 -0400
Received: from lists.gnu.org ([199.232.76.165]:55537)
by monty-python.gnu.org with esmtps
(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
(envelope-from ) id 1O0OWO-0003nM-VR
for submit@debbugs.gnu.org; Fri, 09 Apr 2010 20:26:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
id 1O0OWO-0006We-FC
for bug-coreutils@gnu.org; Fri, 09 Apr 2010 20:26:00 -0400
Received: from [140.186.70.92] (port=59891 helo=eggs.gnu.org)
by lists.gnu.org with esmtp (Exim 4.43) id 1O0OWK-0006VJ-Un
for bug-coreutils@gnu.org; Fri, 09 Apr 2010 20:25:57 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00
autolearn=unavailable version=3.3.0
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
(envelope-from ) id 1O0OWJ-0001Kr-Hd
for bug-coreutils@gnu.org; Fri, 09 Apr 2010 20:25:56 -0400
Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]:8492)
by eggs.gnu.org with smtp (Exim 4.69)
(envelope-from ) id 1O0OWJ-0001Ki-5E
for bug-coreutils@gnu.org; Fri, 09 Apr 2010 20:25:55 -0400
Received: (qmail 98096 invoked from network); 10 Apr 2010 00:25:53 -0000
Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218)
by mail1.slb.deg.dub.stisp.net with SMTP; 10 Apr 2010 00:25:53 -0000
Message-ID: <4BBFC585.1080801@draigBrady.com>
Date: Sat, 10 Apr 2010 01:25:41 +0100
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?=
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
MIME-Version: 1.0
To: Report bugs to
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
From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 11 08:53:52 2010
Received: (at 5917) by debbugs.gnu.org; 11 Apr 2010 12:53:52 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.69)
(envelope-from
Subject: Re: bug#5917: [PATCH] doc: mention Linux capabilities are maintained
by cp/mv
In-Reply-To: <4BBFC585.1080801@draigBrady.com> (=?utf-8?Q?=22P=C3=A1draig?=
Brady"'s message of "Sat, 10 Apr 2010 01:25:41 +0100")
References: <4BBFC585.1080801@draigBrady.com>
Date: Sun, 11 Apr 2010 14:53:37 +0200
Message-ID: <877hoetajy.fsf@meyering.net>
Lines: 38
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.9 (--)
X-Debbugs-Envelope-To: 5917
Cc: 5917@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id:
> 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 no=
t 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
From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 11 09:30:52 2010
Received: (at 5917) by debbugs.gnu.org; 11 Apr 2010 13:30:52 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.69)
(envelope-from ) id 1O0xFS-0003UY-B0
for 5917@debbugs.gnu.org; Sun, 11 Apr 2010 09:30:51 -0400
Received: (qmail 68580 invoked from network); 11 Apr 2010 13:30:44 -0000
Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218)
by mail1.slb.deg.dub.stisp.net with SMTP; 11 Apr 2010 13:30:44 -0000
Message-ID: <4BC1CEF1.5020200@draigBrady.com>
Date: Sun, 11 Apr 2010 14:30:25 +0100
From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?=
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
MIME-Version: 1.0
To: Jim Meyering
>> 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.
From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 11 13:47:06 2010
Received: (at 5917-done) by debbugs.gnu.org; 11 Apr 2010 17:47:06 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.69)
(envelope-from
Subject: Re: bug#5917: [PATCH] doc: mention Linux capabilities are maintained
by cp/mv
In-Reply-To: <4BC1CEF1.5020200@draigBrady.com> (=?utf-8?Q?=22P=C3=A1draig?=
Brady"'s message of "Sun, 11 Apr 2010 14:30:25 +0100")
References: <4BBFC585.1080801@draigBrady.com> <877hoetajy.fsf@meyering.net>
<4BC1CEF1.5020200@draigBrady.com>
Date: Sun, 11 Apr 2010 19:46:53 +0200
Message-ID: <87sk71rieq.fsf@meyering.net>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -3.0 (---)
X-Debbugs-Envelope-To: 5917-done
Cc: 5917-done@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id:
>>> 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 l=
og.
>
> 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!
From unknown Mon Jun 23 07:47:56 2025
Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control@debbugs.gnu.org
From: Debbugs Internal Request