[fbaca08] | 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 | <title>ACL-&acl-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-acl">
|
---|
| 14 | <primary sortas="a-ACL">ACL</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>ACL is a library for getting and setting POSIX Access Control Lists.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of ACL</title>
|
---|
| 26 |
|
---|
| 27 | <para os="a">Prepare ACL for compilation:</para>
|
---|
| 28 |
|
---|
| 29 | <screen os="b"><userinput>./configure --prefix=/usr \
|
---|
| 30 | --libdir=/lib --libexecdir=/usr/lib</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <para os="c">Compile the package:</para>
|
---|
| 33 |
|
---|
| 34 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para os="e">This package does not come with a test suite.</para>
|
---|
| 37 |
|
---|
| 38 | <para os="f">Install the package:</para>
|
---|
| 39 |
|
---|
| 40 | <screen os="g"><userinput>make install install-dev install-lib</userinput></screen>
|
---|
| 41 |
|
---|
| 42 | <para os="h">Remove extra symlinks:</para>
|
---|
| 43 |
|
---|
| 44 | <screen os="i"><userinput>rm -v /lib/libacl.{,l}a</userinput></screen>
|
---|
| 45 |
|
---|
| 46 | <para os="j">Set the proper permissions on the library:</para>
|
---|
| 47 |
|
---|
| 48 | <screen os="k"><userinput>chmod 755 -v /lib/libacl.so.1.1.0</userinput></screen>
|
---|
| 49 |
|
---|
| 50 | </sect2>
|
---|
| 51 |
|
---|
| 52 | <sect2 id="contents-acl" role="content">
|
---|
| 53 | <title>Contents of ACL</title>
|
---|
| 54 |
|
---|
| 55 | <segmentedlist>
|
---|
| 56 | <segtitle>Installed programs</segtitle>
|
---|
| 57 | <segtitle>Installed libraries</segtitle>
|
---|
| 58 | <segtitle>Installed directories</segtitle>
|
---|
| 59 |
|
---|
| 60 | <seglistitem>
|
---|
| 61 | <seg>chacl, getfacl, setfacl</seg>
|
---|
| 62 | <seg>libattr.[a,so]</seg>
|
---|
| 63 | <seg>/usr/include/acl, /usr/share/doc/acl</seg>
|
---|
| 64 | </seglistitem>
|
---|
| 65 | </segmentedlist>
|
---|
| 66 |
|
---|
| 67 | <variablelist>
|
---|
| 68 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 69 | <?dbfo list-presentation="list"?>
|
---|
| 70 | <?dbhtml list-presentation="table"?>
|
---|
| 71 |
|
---|
| 72 | <varlistentry id="chacl">
|
---|
| 73 | <term><command>chacl</command></term>
|
---|
| 74 | <listitem>
|
---|
| 75 | <para>Changes the access control list of a file or directory</para>
|
---|
| 76 | <indexterm zone="ch-system-acl chacl">
|
---|
| 77 | <primary sortas="b-chacl">chacl</primary>
|
---|
| 78 | </indexterm>
|
---|
| 79 | </listitem>
|
---|
| 80 | </varlistentry>
|
---|
| 81 |
|
---|
| 82 | <varlistentry id="getfacl">
|
---|
| 83 | <term><command>getfacl</command></term>
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>Get file access control lists</para>
|
---|
| 86 | <indexterm zone="ch-system-acl getfacl">
|
---|
| 87 | <primary sortas="b-getfacl">getfacl</primary>
|
---|
| 88 | </indexterm>
|
---|
| 89 | </listitem>
|
---|
| 90 | </varlistentry>
|
---|
| 91 |
|
---|
| 92 | <varlistentry id="setfacl">
|
---|
| 93 | <term><command>setfacl</command></term>
|
---|
| 94 | <listitem>
|
---|
| 95 | <para>Set file access control lists</para>
|
---|
| 96 | <indexterm zone="ch-system-acl setfacl">
|
---|
| 97 | <primary sortas="b-setfacl">setfacl</primary>
|
---|
| 98 | </indexterm>
|
---|
| 99 | </listitem>
|
---|
| 100 | </varlistentry>
|
---|
| 101 |
|
---|
| 102 | <varlistentry id="libacl">
|
---|
| 103 | <term><filename class="libraryfile">libacl</filename></term>
|
---|
| 104 | <listitem>
|
---|
| 105 | <para>Library to manage access control lists</para>
|
---|
| 106 | <indexterm zone="ch-system-acl libacl">
|
---|
| 107 | <primary sortas="c-libacl">libacl</primary>
|
---|
| 108 | </indexterm>
|
---|
| 109 | </listitem>
|
---|
| 110 | </varlistentry>
|
---|
| 111 |
|
---|
| 112 | </variablelist>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | </sect1>
|
---|