C API for ACLs

raf macports at raf.org
Sun Feb 6 03:29:24 UTC 2022


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" ACL compatible
(or some similar sensible reason). Searching the net
has only turned up the "POSIX" ACL API so far.

cheers,
raf



More information about the macports-users mailing list