10.21. ACL-2.2.52

ACL is a library for getting and setting POSIX Access Control Lists.

10.21.1. Installation of ACL

Apply a sed to install the documentation with a versioned directory:

sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in

Apply a sed to fix a few tests:

sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test

Prepare ACL for compilation:

./configure --prefix=/usr --libexecdir=/usr/lib

Compile the package:


The Acl tests need a filesystem which supports access controls after Coreutils has been built with the Acl libraries. Return to this section after Coreutils has been installed. Test the results:

make tests

Install the package:

make install install-dev install-lib

Move the shared library to /lib and recreate the symlink in /usr/lib:

mv -v /usr/lib/libacl.so.* /lib
ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so

Set the proper permissions on the shared library:

chmod 755 -v /lib/libacl.so.1.1.0

10.21.2. Contents of ACL

Installed programs: chacl, getfacl, setfacl
Installed libraries: libattr.[a,so]
Installed directories: /usr/include/acl, /usr/share/doc/acl-2.2.52

Short Descriptions


Changes the access control list of a file or directory


Get file access control lists


Set file access control lists


Library to manage access control lists