6.23. Acl-2.2.52

The Acl package contains utilities to administer Access Control Lists, which are used to define more fine-grained discretionary access rights for files and directories.

Approximate build time: 0.2 SBU
Required disk space: 5.4 MB

6.23.1. Installation of Acl

Modify the documentation directory so that it is a versioned directory:

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

Prepare Acl for compilation:

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

Compile the package:

make

The Acl tests need to be run on a filesystem that supports access controls. You will see lot of failures because Coreutils wasn't compiled with ACL support. To anyways test the results, issue:

make -k tests root-tests
[Note]

Note

Even if you run Acl tests after Coreutils has been built with Acl support, at least 11 tests will still fail for unknown reasons.

Install the package:

make install install-dev install-lib
chmod -v 755 /usr/lib/libacl.so

The shared library needs to be moved to /lib, and as a result the .so file in /usr/lib will need to be recreated:

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

6.23.2. Contents of Acl

Installed programs: chacl, getfacl, and setacl
Installed library: libacl.{so,a}
Installed directories: /usr/include/acl, /usr/share/doc/acl-2.2.52

Short Descriptions

chacl

Changes the access control list of a file or directory.

getfacl

Gets file access control lists.

setacl

Sets file access control lists.

libacl.{so,a}

Contains the Acl API functions.