On Sat, Feb 05, 2022 at 11:05:11PM -0500, Andrew Udvare
wrote:
> > On 2022-02-05, at 22:29, raf wrote:
> >
> > Hi,
> >
> > Does anyone know how to get at macOS's ACLs from C?
> > I just need to access them in text form. I'm using
> > the "POSIX" ACL API, and it compiles and runs, but
> > it d
> On 2022-02-05, at 22:29, raf wrote:
>
> Hi,
>
> Does anyone know how to get at macOS's ACLs from C?
> I just need to access them in text form. I'm using
> the "POSIX" ACL API, and it compiles and runs, but
> it doesn't find anything. The ACL entries that I can
> create with chmod +a, and vie
Use the source, Luke.
How "ls" does it:
https://github.com/apple-oss-distributions/file_cmds/tree/file_cmds-321.100.11/ls
Looks like the presence of an ACL and getting a handle for it is done in ls.c,
and actually retrieving and printing all the entries (ls.c retrieves the 1st
entry just to ma
Hi,
Does anyone know how to get at macOS's ACLs from C?
I just need to access them in text form. I'm using
the "POSIX" ACL API, and it compiles and runs, but
it doesn't find anything. The ACL entries that I can
create with chmod +a, and view with ls -e, don't
show up because they're not "POSIX" AC