From eec8fcb88006cf473cdf8b9c6d6cda799b574caa Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 21 Mar 2014 19:34:09 +0000 Subject: Add acl and attr packages Minor grammar fixes Update standards compliance statments Put e2fsprogs executables in /bin git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10512 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/acl.xml | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 chapter06/acl.xml (limited to 'chapter06/acl.xml') diff --git a/chapter06/acl.xml b/chapter06/acl.xml new file mode 100644 index 000000000..785963da4 --- /dev/null +++ b/chapter06/acl.xml @@ -0,0 +1,150 @@ + + + %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 + + Modify the documentation directory so that it is a versioned + directory: + +sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in + + Fix some broken tests: + +sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test + + Prepare Acl for compilation: + +./configure --prefix=/usr \ + --bindir=/bin \ + --libexecdir=/usr/lib + + 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 + tests after Coreutils has been built + later in this chapter. + + 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/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so + + + + + Contents of Acl + + + Installed programs + Installed library + Installed directories + + + chacl, getfacl, and setacl + libacl.{a,so} + /usr/include/acl, /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 + + + + + + setacl + + Sets file access control lists. + + setacl + + + + + + libacl + + Contains the Acl API functions. + + libacl + + + + + + + + +
-- cgit v1.2.3-54-g00ecf