[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[eec8fcb] | 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,
|
---|
[54948b7] | 27 | which are used to define fine-grained discretionary access rights for
|
---|
[eec8fcb] | 28 | files and directories.</para>
|
---|
| 29 |
|
---|
| 30 | <segmentedlist>
|
---|
| 31 | <segtitle>&buildtime;</segtitle>
|
---|
| 32 | <segtitle>&diskspace;</segtitle>
|
---|
| 33 |
|
---|
| 34 | <seglistitem>
|
---|
[6dfcfecc] | 35 | <seg>&acl-fin-sbu;</seg>
|
---|
| 36 | <seg>&acl-fin-du;</seg>
|
---|
[eec8fcb] | 37 | </seglistitem>
|
---|
| 38 | </segmentedlist>
|
---|
| 39 |
|
---|
| 40 | </sect2>
|
---|
| 41 |
|
---|
| 42 | <sect2 role="installation">
|
---|
| 43 | <title>Installation of Acl</title>
|
---|
| 44 |
|
---|
| 45 | <para>Prepare Acl for compilation:</para>
|
---|
| 46 |
|
---|
[d7a9421] | 47 | <screen><userinput remap="configure">./configure --prefix=/usr \
|
---|
[f6528ac8] | 48 | --disable-static \
|
---|
| 49 | --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen>
|
---|
[1118b17] | 50 |
|
---|
[eec8fcb] | 51 | <para>Compile the package:</para>
|
---|
| 52 |
|
---|
| 53 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 54 |
|
---|
[54948b7] | 55 | <para>The Acl tests must be run on a filesystem that supports access
|
---|
| 56 | controls, but not until the <application>Coreutils</application> package has been built,
|
---|
| 57 | using the <application>Acl</application> libraries. If desired, return to this package
|
---|
| 58 | and run <command>make check</command> after the <application>Coreutils</application>
|
---|
| 59 | package has been built.</para>
|
---|
[eec8fcb] | 60 |
|
---|
| 61 | <para>Install the package:</para>
|
---|
| 62 |
|
---|
[f6528ac8] | 63 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[eec8fcb] | 64 |
|
---|
| 65 | </sect2>
|
---|
| 66 |
|
---|
[6dfcfecc] | 67 | <!-- - - - - - - - - - -->
|
---|
| 68 | <!-- Multilib - 32bit -->
|
---|
| 69 | <!-- - - - - - - - - - -->
|
---|
[fd48baa] | 70 |
|
---|
| 71 | <sect2 arch="ml_32,ml_all" role="installation">
|
---|
[6dfcfecc] | 72 | <title>Installation of Acl - 32bit</title>
|
---|
[b3f1ebb3] | 73 |
|
---|
| 74 | <para>Clean previous build:</para>
|
---|
| 75 |
|
---|
| 76 | <screen><userinput remap="pre">make distclean</userinput></screen>
|
---|
| 77 |
|
---|
[85589aaa] | 78 | <para>Prepare Acl for compilation:</para>
|
---|
[b3f1ebb3] | 79 |
|
---|
[6dfcfecc] | 80 | <screen><userinput remap="configure">CC="gcc -m32" ./configure \
|
---|
| 81 | --prefix=/usr \
|
---|
| 82 | --disable-static \
|
---|
[0ebda11] | 83 | --libdir=/usr/lib32 \
|
---|
| 84 | --libexecdir=/usr/lib32 \
|
---|
[b3f1ebb3] | 85 | --host=i686-pc-linux-gnu</userinput></screen>
|
---|
| 86 |
|
---|
| 87 | <para>Compile the package:</para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>Install the package:</para>
|
---|
| 92 |
|
---|
[6dfcfecc] | 93 | <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
|
---|
[0ebda11] | 94 | cp -Rv DESTDIR/usr/lib32/* /usr/lib32
|
---|
[b3f1ebb3] | 95 | rm -rf DESTDIR</userinput></screen>
|
---|
| 96 |
|
---|
[6dfcfecc] | 97 | </sect2><!-- m32 -->
|
---|
[b3f1ebb3] | 98 |
|
---|
[6dfcfecc] | 99 | <!-- - - - - - - - - - -->
|
---|
| 100 | <!-- Multilib - x32bit -->
|
---|
| 101 | <!-- - - - - - - - - - -->
|
---|
[fd48baa] | 102 |
|
---|
| 103 | <sect2 arch="ml_x32,ml_all" role="installation">
|
---|
[6dfcfecc] | 104 | <title>Installation of Acl - x32bit</title>
|
---|
[b3f1ebb3] | 105 |
|
---|
| 106 | <para>Clean previous build:</para>
|
---|
| 107 |
|
---|
| 108 | <screen><userinput remap="pre">make distclean</userinput></screen>
|
---|
| 109 |
|
---|
[85589aaa] | 110 | <para>Prepare Acl for compilation:</para>
|
---|
[b3f1ebb3] | 111 |
|
---|
[6dfcfecc] | 112 | <screen><userinput remap="configure">CC="gcc -mx32" ./configure \
|
---|
| 113 | --prefix=/usr \
|
---|
| 114 | --disable-static \
|
---|
[0ebda11] | 115 | --libdir=/usr/libx32 \
|
---|
| 116 | --libexecdir=/usr/libx32 \
|
---|
[b3f1ebb3] | 117 | --host=x86_64-pc-linux-gnux32</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | <para>Compile the package:</para>
|
---|
| 120 |
|
---|
| 121 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | <para>Install the package:</para>
|
---|
| 124 |
|
---|
[6dfcfecc] | 125 | <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
|
---|
[0ebda11] | 126 | cp -Rv DESTDIR/usr/libx32/* /usr/libx32
|
---|
[b3f1ebb3] | 127 | rm -rf DESTDIR</userinput></screen>
|
---|
| 128 |
|
---|
[6dfcfecc] | 129 | </sect2><!-- mx32 -->
|
---|
[b3f1ebb3] | 130 |
|
---|
[eec8fcb] | 131 | <sect2 id="contents-acl" role="content">
|
---|
| 132 | <title>Contents of Acl</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed programs</segtitle>
|
---|
| 136 | <segtitle>Installed library</segtitle>
|
---|
| 137 | <segtitle>Installed directories</segtitle>
|
---|
| 138 |
|
---|
| 139 | <seglistitem>
|
---|
[d76a82b2] | 140 | <seg>chacl, getfacl, and setfacl</seg>
|
---|
[040ecb6] | 141 | <seg>libacl.so</seg>
|
---|
[145a985] | 142 | <seg>/usr/include/acl and /usr/share/doc/acl-&acl-version;</seg>
|
---|
[eec8fcb] | 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="chacl">
|
---|
| 152 | <term><command>chacl</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>Changes the access control list of a file
|
---|
[afba93b] | 155 | or directory</para>
|
---|
[eec8fcb] | 156 | <indexterm zone="ch-system-acl chacl">
|
---|
| 157 | <primary sortas="b-chacl">chacl</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="getfacl">
|
---|
| 163 | <term><command>getfacl</command></term>
|
---|
| 164 | <listitem>
|
---|
[afba93b] | 165 | <para>Gets file access control lists</para>
|
---|
[eec8fcb] | 166 | <indexterm zone="ch-system-acl getfacl">
|
---|
| 167 | <primary sortas="b-getfacl">getfacl</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
[d76a82b2] | 172 | <varlistentry id="setfacl">
|
---|
| 173 | <term><command>setfacl</command></term>
|
---|
[eec8fcb] | 174 | <listitem>
|
---|
[afba93b] | 175 | <para>Sets file access control lists</para>
|
---|
[d76a82b2] | 176 | <indexterm zone="ch-system-acl setfacl">
|
---|
| 177 | <primary sortas="b-setfacl">setfacl</primary>
|
---|
[eec8fcb] | 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="libacl">
|
---|
| 183 | <term><filename class="libraryfile">libacl</filename></term>
|
---|
| 184 | <listitem>
|
---|
[145a985] | 185 | <para>Contains the library functions for manipulating Access Control Lists</para>
|
---|
[eec8fcb] | 186 | <indexterm zone="ch-system-acl libacl">
|
---|
| 187 | <primary sortas="c-libacl">libacl</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | </variablelist>
|
---|
| 193 |
|
---|
| 194 | </sect2>
|
---|
| 195 |
|
---|
| 196 | </sect1>
|
---|