%general-entities; ]> acl &acl-version;
&acl-url;
Acl-&acl-version; Acl <para>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.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&acl-ch6-sbu;</seg> <seg>&acl-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Acl Prepare Acl for compilation: ./configure --prefix=/usr \ --bindir=/bin \ --disable-static \ --libexecdir=/usr/lib \ --docdir=/usr/share/doc/acl-&acl-version; ./configure --prefix=/usr \ --disable-static \ --libexecdir=/usr/lib \ --docdir=/usr/share/doc/acl-&acl-version; Compile the package: make The Acl tests need to be run on a filesystem that supports access controls after Coreutils has been built with the Acl libraries. If desired, return to this package and run make check after Coreutils has been built later in this chapter. Install the package: make install 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/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so Installation of Acl - 32-bit Clean previous build: make distclean Prepare Acl for compilation: CC="gcc -m32" ./configure \ --prefix=/usr --libdir=/usr/lib32 \ --disable-static --libexecdir=/usr/lib32 \ --host=i686-pc-linux-gnu Compile the package: make Install the package: make DESTDIR=$(pwd)/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR Installation of Acl - x32-bit Clean previous build: make distclean Prepare Acl for compilation: CC="gcc -mx32" ./configure \ --prefix=/usr --libdir=/usr/libx32 \ --disable-static --libexecdir=/usr/libx32 \ --host=x86_64-pc-linux-gnux32 Compile the package: make Install the package: make DESTDIR=$(pwd)/DESTDIR install cp -Rv DESTDIR/usr/libx32/* /usr/libx32 rm -rf DESTDIR Contents of Acl Installed programs Installed library Installed directories chacl, getfacl, and setfacl libacl.so /usr/include/acl and /usr/share/doc/acl-&acl-version; Short Descriptions chacl Changes the access control list of a file or directory chacl getfacl Gets file access control lists getfacl setfacl Sets file access control lists setfacl libacl Contains the library functions for manipulating Access Control Lists libacl