Quinn recommended consolidating my related question into this thread.
I have a similar observation on a system reported as macOS Monterey 12.7.6 (21H1320), Intel, with the relevant volume reported as APFS; the filesystem type has not been independently reverified.
An existing empty regular file was opened read-only with O_NOFOLLOW and O_CLOEXEC. Before/after pathname and descriptor metadata matched. One acl_get_fd_np(fd, ACL_TYPE_EXTENDED) call returned NULL with ENOENT, captured immediately after clearing errno. This does not independently establish ACL absence.
I have not tested fgetattrlist or controlled ACL fixtures on this host, so I am not claiming the additional results described in the original post.
Could Apple clarify a supported descriptor-bound sequence for distinguishing absent ACLs, explicit zero-entry ACLs, and unavailable ACL evidence, including whether that guidance applies to Monterey?
My related question, for context:
https://developer.apple.com/forums/thread/855564
Thank you. I’ll keep further discussion here.
Topic:
App & System Services
SubTopic:
Core OS
Tags: