[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Acl-devel] Man page patch for setfacl
From: |
Kenneth Dsouza |
Subject: |
Re: [Acl-devel] Man page patch for setfacl |
Date: |
Mon, 22 Jan 2018 19:50:12 +0530 |
Hello Mike,
This patch fails on the below condition as previously said by Michael.
Example:
When 1234 is as uid and username.
In my humble opinion, it is better to document this behaviour as most
of the modern distros have stopped the creation of numeric usernames.
Changing the code is complex and it would break other condition. As we
will need a new option for the above case.
Example: Fedora
Kenneth D'souza
On Sun, Jan 21, 2018 at 8:40 PM, Michael Orlitzky <address@hidden> wrote:
> On 01/21/2018 12:29 AM, Mike Frysinger wrote:
>> On 01 Sep 2017 17:00, Kenneth Dsouza wrote:
>>> Currently, the setfacl utility cannot handle ACL on numeric username and
>>> groupname. Which causes the ACL to be applied to a uid instead of the
>>> username
>>> intended to.
>>>
>>> ...
>>>
>>
>> shouldn't we fix the behavior instead of documenting it ?
>>
>> does this patch fix things for you ?
>> -mike
>>
>
> If might be useful to give people a way to disambiguate. After the
> patch, is there a way to use setfacl on a uid that is also someone
> else's username?
>
> Prior art:
>
> https://www.gnu.org/software/coreutils/manual/html_node/Disambiguating-names-and-IDs.html
>
>
- Re: [Acl-devel] Man page patch for setfacl, Mike Frysinger, 2018/01/21
- Re: [Acl-devel] Man page patch for setfacl, Kenneth Dsouza, 2018/01/21
- Re: [Acl-devel] Man page patch for setfacl, Michael Orlitzky, 2018/01/21
- Re: [Acl-devel] Man page patch for setfacl,
Kenneth Dsouza <=
- Re: [Acl-devel] Man page patch for setfacl, Michael Orlitzky, 2018/01/22
- Re: [Acl-devel] Man page patch for setfacl, Andreas Grünbacher, 2018/01/22
- Re: [Acl-devel] Man page patch for setfacl, Michael Orlitzky, 2018/01/22
- Re: [Acl-devel] Man page patch for setfacl, Andreas Grünbacher, 2018/01/22
- Re: [Acl-devel] Man page patch for setfacl, Mike Frysinger, 2018/01/22
- Re: [Acl-devel] Man page patch for setfacl, Andreas Grünbacher, 2018/01/22
- Re: [Acl-devel] Man page patch for setfacl, Mike Frysinger, 2018/01/22
- Re: [Acl-devel] Man page patch for setfacl, Michael Orlitzky, 2018/01/22