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: Paul Eggert <eggert <at> cs.ucla.edu>
To: Kamil Dudka <kdudka <at> redhat.com>
Cc: ondrej.valousek.xm <at> renesas.com, 61035 <at> debbugs.gnu.org
Subject: bug#61035: [PATCH] cp: improve help regarding ACLs
Date: Sun, 29 Jan 2023 14:04:22 -0800
On 2023-01-29 03:06, Kamil Dudka wrote:
> On Wednesday, January 25, 2023 11:01:45 PM CET Paul Eggert wrote:
>> On 2023-01-25 13:56, Ondrej Valousek wrote:
>>> But it's not the same meaning. What I am trying to explain here is that
>>>
>>> Cp -p (or cp --preserve=mode) also retains ACLs. This fact is not obvious, but yet it's happening
>> Then I'm afraid I don't understand. In what sense do ACLs differ from
>> xattr here?
> As I understand it, `cp -p` now preserves ACLs but not xattr (unlike `cp -a`).

OK, the light is slowly dawning on me. Though I'm still confused.

Why are ACLs treated differently from extended attributes? Shouldn't the 
two be treated the same (assuming they're both supported)?

In other words, what's the underlying model and motivation here? It's 
more important to document that, than to document little pieces of it.




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.