bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Use xattr (Linux) in qcopy-acl.c


From: Paul Eggert
Subject: Re: [PATCH] Use xattr (Linux) in qcopy-acl.c
Date: Thu, 12 Jan 2023 14:53:39 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

On 1/12/23 12:58, Bruno Haible wrote:
   1. remove the ALLOWing part of the old ACL,
   2. add the DENYing part of the new ACL,
   3. copy the data,
   4. remove the DENYing part of the old ACL (as far as not also contained
      in the new ACL),
   5. add the ALLOWing part of the new ACL.

Something like that, no?

Yes, this sounds good, although things are more complicated on systems where ACLs and the traditional Unix permissions are set separately and the two interact.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]