Working with Access Control Lists (ACLs)

Some filesystems, such as the Power-Safe ( filesystem, extend file permissions with Access Control Lists, which are based on the withdrawn IEEE POSIX 1003.1e and 1003.2c draft standards.

As described in Access Control Lists (ACLs) in the QNX Neutrino User's Guide, ACLs extend the traditional permissions as set with chmod, giving you finer control over who has access to your files and directories.


If you're using the command line, you can use the getfacl and setfacl utilities to get and set the ACL for a file or directory, but there are also ways to manipulate ACLs from a program.

Let's start with the ways that an ACL can be represented, and then we'll look at how to work with them.