[9baa148] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-acl" role="wrap">
|
---|
| 9 | <?dbhtml filename="acl.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>acl</productname>
|
---|
| 13 | <productnumber>&acl-version;</productnumber>
|
---|
| 14 | <address>&acl-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Acl-&acl-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-acl">
|
---|
| 20 | <primary sortas="a-Acl">Acl</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The Acl package contains utilities to administer Access Control Lists,
|
---|
| 27 | which are used to define more fine-grained discretionary access rights for
|
---|
| 28 | files and directories.</para>
|
---|
| 29 |
|
---|
| 30 | <segmentedlist>
|
---|
| 31 | <segtitle>&buildtime;</segtitle>
|
---|
| 32 | <segtitle>&diskspace;</segtitle>
|
---|
| 33 |
|
---|
| 34 | <seglistitem>
|
---|
| 35 | <seg>&acl-ch6-sbu;</seg>
|
---|
| 36 | <seg>&acl-ch6-du;</seg>
|
---|
| 37 | </seglistitem>
|
---|
| 38 | </segmentedlist>
|
---|
| 39 |
|
---|
| 40 | </sect2>
|
---|
| 41 |
|
---|
| 42 | <sect2 role="installation">
|
---|
| 43 | <title>Installation of Acl</title>
|
---|
| 44 |
|
---|
| 45 | <para>Modify the documentation directory so that it is a versioned
|
---|
| 46 | directory:</para>
|
---|
| 47 |
|
---|
| 48 | <screen><userinput remap="pre">sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in</userinput></screen>
|
---|
| 49 |
|
---|
[58c8823] | 50 | <para>Fix some broken tests:</para>
|
---|
| 51 |
|
---|
| 52 | <screen><userinput remap="pre">sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen>
|
---|
| 53 |
|
---|
[9baa148] | 54 | <para>Prepare Acl for compilation:</para>
|
---|
| 55 |
|
---|
[720f253] | 56 | <screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
|
---|
[9baa148] | 57 |
|
---|
| 58 | <para>Compile the package:</para>
|
---|
| 59 |
|
---|
| 60 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 61 |
|
---|
| 62 | <para>The Acl tests need to be run on a filesystem that supports access
|
---|
[58c8823] | 63 | controls. Coreutils needs to be compiled with ACL support in order for
|
---|
| 64 | the testsuite to complete sucessfully. To test the results, issue:</para>
|
---|
[9baa148] | 65 |
|
---|
[58c8823] | 66 | <screen><userinput remap="test">make tests</userinput></screen>
|
---|
[e88c73c] | 67 |
|
---|
[9baa148] | 68 | <para>Install the package:</para>
|
---|
| 69 |
|
---|
| 70 | <screen><userinput remap="install">make install install-dev install-lib
|
---|
[4ef6ea00] | 71 | chmod -v 755 /usr/lib/libacl.so</userinput></screen>
|
---|
[9baa148] | 72 |
|
---|
[b1a51ac1] | 73 | <para>The shared library needs to be moved to
|
---|
| 74 | <filename class="directory">/lib</filename>, and as a result the
|
---|
| 75 | <filename class="extension">.so</filename> file in
|
---|
| 76 | <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
|
---|
[9baa148] | 77 |
|
---|
[b1a51ac1] | 78 | <screen><userinput remap="install">mv -v /usr/lib/libacl.so.* /lib
|
---|
[58c8823] | 79 | ln -sfv ../../lib/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so</userinput></screen>
|
---|
[9baa148] | 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 id="contents-acl" role="content">
|
---|
| 84 | <title>Contents of Acl</title>
|
---|
| 85 |
|
---|
| 86 | <segmentedlist>
|
---|
| 87 | <segtitle>Installed programs</segtitle>
|
---|
| 88 | <segtitle>Installed library</segtitle>
|
---|
| 89 | <segtitle>Installed directories</segtitle>
|
---|
| 90 |
|
---|
| 91 | <seglistitem>
|
---|
| 92 | <seg>chacl, getfacl, and setacl</seg>
|
---|
[58c8823] | 93 | <seg>libacl.{a,so}</seg>
|
---|
[a966c46] | 94 | <seg>/usr/include/acl, /usr/share/doc/acl-&acl-version;</seg>
|
---|
[9baa148] | 95 | </seglistitem>
|
---|
| 96 | </segmentedlist>
|
---|
| 97 |
|
---|
| 98 | <variablelist>
|
---|
| 99 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 100 | <?dbfo list-presentation="list"?>
|
---|
| 101 | <?dbhtml list-presentation="table"?>
|
---|
| 102 |
|
---|
| 103 | <varlistentry id="chacl">
|
---|
| 104 | <term><command>chacl</command></term>
|
---|
| 105 | <listitem>
|
---|
| 106 | <para>Changes the access control list of a file
|
---|
| 107 | or directory.</para>
|
---|
| 108 | <indexterm zone="ch-system-acl chacl">
|
---|
| 109 | <primary sortas="b-chacl">chacl</primary>
|
---|
| 110 | </indexterm>
|
---|
| 111 | </listitem>
|
---|
| 112 | </varlistentry>
|
---|
| 113 |
|
---|
| 114 | <varlistentry id="getfacl">
|
---|
| 115 | <term><command>getfacl</command></term>
|
---|
| 116 | <listitem>
|
---|
| 117 | <para>Gets file access control lists.</para>
|
---|
| 118 | <indexterm zone="ch-system-acl getfacl">
|
---|
| 119 | <primary sortas="b-getfacl">getfacl</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
| 123 |
|
---|
| 124 | <varlistentry id="setacl">
|
---|
| 125 | <term><command>setacl</command></term>
|
---|
| 126 | <listitem>
|
---|
| 127 | <para>Sets file access control lists.</para>
|
---|
| 128 | <indexterm zone="ch-system-acl setacl">
|
---|
| 129 | <primary sortas="b-setacl">setacl</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="libacl">
|
---|
[58c8823] | 135 | <term><filename class="libraryfile">libacl</filename></term>
|
---|
[9baa148] | 136 | <listitem>
|
---|
| 137 | <para>Contains the <application>Acl</application> API functions.</para>
|
---|
| 138 | <indexterm zone="ch-system-acl libacl">
|
---|
[58c8823] | 139 | <primary sortas="c-libacl">libacl</primary>
|
---|
[9baa148] | 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | </variablelist>
|
---|
| 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | </sect1>
|
---|