title: Does the Posix "access" syscall take ACLs into consideration?
body: <p>According to the <a href="https://linux.die.net/man/2/access" rel="nofollow noreferrer">man page</a>, the POSIX syscall</p>
  <pre><code>int access(const char *pathname, int mode);
  </code></pre>
  <p>does the following</p>
  <blockquote>
  <p>access() checks whether the calling process can access the file
  pathname. If pathname is a symbolic link, it is dereferenced.</p>
  </blockquote>
  <p>Does it also check <a href="https://linux.die.net/man/5/acl" rel="nofollow noreferrer">ACLs</a>, or just the rights of owner/group/others ? <br />
  (assuming the OS&amp;FS supports ACLs, and that there are ACLs on the file)</p>
  <p>Specifically, does it check ACLs on Linux (when ACLs are enabled in the kernel and FS) ?</p>