mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
183 lines
6.0 KiB
XML
183 lines
6.0 KiB
XML
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||
|
%general-entities;
|
||
|
|
||
|
<!ENTITY acl-download-http "http://mirror.dknss.com/nongnu/acl/acl-&acl-version;.src.tar.gz">
|
||
|
<!ENTITY acl-download-ftp " ">
|
||
|
<!ENTITY acl-md5sum "6ed035f4b7dffc7de5ef871f86a5cab8">
|
||
|
<!ENTITY acl-size "353 KB">
|
||
|
<!ENTITY acl-buildsize "5 MB">
|
||
|
<!ENTITY acl-time "0.1 SBU">
|
||
|
]>
|
||
|
|
||
|
<sect1 id="acl" xreflabel="acl-&acl-version;">
|
||
|
<?dbhtml filename="acl.html"?>
|
||
|
|
||
|
<sect1info>
|
||
|
<othername>$LastChangedBy$</othername>
|
||
|
<date>$Date$</date>
|
||
|
</sect1info>
|
||
|
|
||
|
<title>acl-&acl-version;</title>
|
||
|
|
||
|
<indexterm zone="acl">
|
||
|
<primary sortas="a-acl">acl</primary>
|
||
|
</indexterm>
|
||
|
|
||
|
<sect2 role="package">
|
||
|
<title>Introduction to acl</title>
|
||
|
|
||
|
<para>The <application>acl</application> package contains utilities to
|
||
|
administer Access Control Lists, which are used to define more fine-grained
|
||
|
discretionary access rights for files and directories.</para>
|
||
|
|
||
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||
|
<itemizedlist spacing="compact">
|
||
|
<listitem>
|
||
|
<para>Download (HTTP): <ulink url="&acl-download-http;"/></para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>Download (FTP): <ulink url="&acl-download-ftp;"/></para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>Download MD5 sum: &acl-md5sum;</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>Download size: &acl-size;</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>Estimated disk space required: &acl-buildsize;</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>Estimated build time: &acl-time;</para>
|
||
|
</listitem>
|
||
|
</itemizedlist>
|
||
|
|
||
|
<bridgehead renderas="sect3">acl Dependencies</bridgehead>
|
||
|
|
||
|
<bridgehead renderas="sect4">Required</bridgehead>
|
||
|
<para role="required"><xref linkend="attr"/></para>
|
||
|
|
||
|
<para condition="html" role="usernotes">User Notes:
|
||
|
<ulink url="&blfs-wiki;/acl"/></para>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="installation">
|
||
|
<title>Installation of acl</title>
|
||
|
|
||
|
<para>Install <application>acl</application> by running the following
|
||
|
commands:</para>
|
||
|
|
||
|
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &&
|
||
|
make</userinput></screen>
|
||
|
|
||
|
<para>For meaningful results, the tests need to be carried out on a file
|
||
|
system that supports extended attributes. It is also required that
|
||
|
<application>Coreutils</application> is re-installed after
|
||
|
<application>acl</application> is installed so that the extra acl bit
|
||
|
displays correctly on a ls command. Some failures will occur due to a
|
||
|
missing script called sort-getfattr-output which is not part fo the
|
||
|
tarball.</para>
|
||
|
|
||
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||
|
|
||
|
<screen role="root"><userinput>make install install-dev install-lib &&
|
||
|
mv /usr/share/doc/acl /usr/share/doc/acl-&acl-version;</userinput></screen>
|
||
|
|
||
|
<para>You should now re-install <application>Coreutils</application> and proceed to run the test suite.</para>
|
||
|
|
||
|
<para>There are three sets of tests that come with this package. Issue the
|
||
|
following to execute all three:
|
||
|
<command>make tests root-tests ext-tests</command>.</para>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="configuration">
|
||
|
<title>Configuring attr</title>
|
||
|
<sect3><title>Configuration Information</title>
|
||
|
|
||
|
<para>There is no configuration to <application>acl</application> itself,
|
||
|
but to get any use out of <application>acl</application>, a filesystem
|
||
|
needs to support access control lists.</para>
|
||
|
|
||
|
<para>One way to achieve this is to add the acl option to an ext3
|
||
|
filesystem in the /etc/fstab file as shown below.</para>
|
||
|
|
||
|
<screen># file system mount-point type options dump fsck
|
||
|
# order
|
||
|
|
||
|
/dev/sda1 / ext3 defaults,acl,user_xattr 0 2</screen>
|
||
|
|
||
|
</sect3>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="content">
|
||
|
<title>Contents</title>
|
||
|
|
||
|
<segmentedlist>
|
||
|
<segtitle>Installed Programs</segtitle>
|
||
|
<segtitle>Installed Library</segtitle>
|
||
|
<segtitle>Installed Director(y,ies)</segtitle>
|
||
|
|
||
|
<seglistitem>
|
||
|
<seg>chacl, getfacl, and setfacl</seg>
|
||
|
<seg>libacl.{so,a}</seg>
|
||
|
<seg>/usr/{include/acl,share/doc/acl-&acl-version;}</seg>
|
||
|
</seglistitem>
|
||
|
</segmentedlist>
|
||
|
|
||
|
<variablelist>
|
||
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||
|
<?dbfo list-presentation="list"?>
|
||
|
<?dbhtml list-presentation="table"?>
|
||
|
|
||
|
<varlistentry id="chacl">
|
||
|
<term><command>chacl</command></term>
|
||
|
<listitem>
|
||
|
<para>changes the access control list of a file or directory.</para>
|
||
|
<indexterm zone="acl chacl">
|
||
|
<primary sortas="b-chacl">chacl</primary>
|
||
|
</indexterm>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
<varlistentry id="getfacl">
|
||
|
<term><command>getfacl</command></term>
|
||
|
<listitem>
|
||
|
<para>gets file access control lists.</para>
|
||
|
<indexterm zone="acl getfacl">
|
||
|
<primary sortas="b-getfacl">getfacl</primary>
|
||
|
</indexterm>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
<varlistentry id="setfacl">
|
||
|
<term><command>setfacl</command></term>
|
||
|
<listitem>
|
||
|
<para>sets file access control lists.</para>
|
||
|
<indexterm zone="acl setfacl">
|
||
|
<primary sortas="b-setfacl">setfacl</primary>
|
||
|
</indexterm>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
<varlistentry id="libacl">
|
||
|
<term><filename class='libraryfile'>libacl.{so,a}</filename></term>
|
||
|
<listitem>
|
||
|
<para>contains the <application>acl</application> API functions.</para>
|
||
|
<indexterm zone="acl libacl">
|
||
|
<primary sortas="c-libacl">libacl.{so,a}</primary>
|
||
|
</indexterm>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
</variablelist>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
</sect1>
|