GNU bug report logs - #61035
[PATCH] cp: improve help regarding ACLs

Previous Next

Package: coreutils;

Reported by: Ondrej Valousek <ondrej.valousek.xm <at> renesas.com>

Date: Tue, 24 Jan 2023 08:45:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#61035: closed ([PATCH] cp: improve help regarding ACLs)
Date: Tue, 31 Jan 2023 21:58:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 31 Jan 2023 13:56:54 -0800
with message-id <fc0eefe6-3074-c4d1-4567-3871cc77ec0b <at> cs.ucla.edu>
and subject line Re: bug#61035: [PATCH] cp: improve help regarding ACLs
has caused the debbugs.gnu.org bug report #61035,
regarding [PATCH] cp: improve help regarding ACLs
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
61035: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61035
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ondrej Valousek <ondrej.valousek.xm <at> renesas.com>
To: bug-coreutils <at> gnu.org
Cc: Ondrej Valousek <ondrej.valousek.xm <at> renesas.com>
Subject: [PATCH] cp: improve help regarding ACLs
Date: Tue, 24 Jan 2023 09:42:30 +0100
Improve help to clarify ACL handling
---
 src/cp.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/cp.c b/src/cp.c
index 016ae8988..73ffd34e9 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -239,6 +239,11 @@ When --reflink[=always] is specified, perform a lightweight copy, where the\n\
 data blocks are copied only when modified.  If this is not possible the copy\n\
 fails, or if --reflink=auto is specified, fall back to a standard copy.\n\
 Use --reflink=never to ensure a standard copy is performed.\n\
+"), stdout);
+      fputs (_("\
+\n\
+--preserve=mode also copies ACLs but only if the destination filesystem\n\
+supports ACLs of the same type (i.e. no Posix <> NFSv4 ACLs conversion)\n\
 "), stdout);
       emit_backup_suffix_note ();
       fputs (_("\
-- 
2.39.0



[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Ondrej Valousek <ondrej.valousek.xm <at> renesas.com>,
 Kamil Dudka <kdudka <at> redhat.com>
Cc: 61035-done <at> debbugs.gnu.org
Subject: Re: bug#61035: [PATCH] cp: improve help regarding ACLs
Date: Tue, 31 Jan 2023 13:56:54 -0800
[Message part 4 (text/plain, inline)]
On 1/31/23 13:23, Ondrej Valousek wrote:
> Yes, that's nice, thanks!
> However I think it would be also fair to mention that ACLs will not be converted/translated (I.e. no posix to nfsv4 or vice versa). We are not that clever.

OK, I installed that along with the attached further patch to talk about 
ACL translation (this can be in the manual rather than the man page as 
it's reasonably obscure).
[0001-doc-document-preserve-mode-better.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 162 days ago.

Previous Next


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