[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does acl_set_fd always try to set system.posix_acl_access ?
From: |
Andreas Grünbacher |
Subject: |
Re: Why does acl_set_fd always try to set system.posix_acl_access ? |
Date: |
Tue, 14 Apr 2020 22:35:36 +0200 |
Am Di., 14. Apr. 2020 um 20:49 Uhr schrieb Gregg Leventhal
<address@hidden>:
> Why does this function default to setting ACL_EA_ACCESS (i.e
> system.posix_acl_access) ?
That's what the function is documented to do.
> This seems to result in a lot of unnecessary fsetxattr calls for any caller
> of this function (e.g /bin/cp).
What do you mean? Depending on the options given, cp sets the
permissions of target files in a specific way, and it uses various
acl_* and other functions to achieve that.