source: postlfs/security/acl.xml@ d309b21

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d309b21 was 49b9df3c, checked in by Wayne Blaszczyk <wblaszcz@…>, 14 years ago

Updated to DeviceKit-power-012 and some minor amendments to udev and acl.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8129 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.0 KB
Line 
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 <!ENTITY acl-download-http "http://mirror.dknss.com/nongnu/acl/acl-&acl-version;.src.tar.gz">
8 <!ENTITY acl-download-ftp " ">
9 <!ENTITY acl-md5sum "6ed035f4b7dffc7de5ef871f86a5cab8">
10 <!ENTITY acl-size "353 KB">
11 <!ENTITY acl-buildsize "5 MB">
12 <!ENTITY acl-time "0.1 SBU">
13]>
14
15<sect1 id="acl" xreflabel="acl-&acl-version;">
16 <?dbhtml filename="acl.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>acl-&acl-version;</title>
24
25 <indexterm zone="acl">
26 <primary sortas="a-acl">acl</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to acl</title>
31
32 <para>The <application>acl</application> package contains utilities to
33 administer Access Control Lists, which are used to define more fine-grained
34 discretionary access rights for files and directories.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&acl-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&acl-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &acl-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &acl-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &acl-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &acl-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">acl Dependencies</bridgehead>
59
60 <bridgehead renderas="sect4">Required</bridgehead>
61 <para role="required"><xref linkend="attr"/></para>
62
63 <para condition="html" role="usernotes">User Notes:
64 <ulink url="&blfs-wiki;/acl"/></para>
65
66 </sect2>
67
68 <sect2 role="installation">
69 <title>Installation of acl</title>
70
71 <para>Install <application>acl</application> by running the following
72 commands:</para>
73
74<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib &amp;&amp;
75make</userinput></screen>
76
77 <para>For meaningful results, the tests need to be carried out on a file
78 system that supports extended attributes. It is also required that
79 <application>Coreutils</application> is re-installed after
80 <application>acl</application> is installed so that the extra acl bit
81 displays correctly on a ls command. Some failures will occur due to a
82 missing script called sort-getfattr-output which is not part fo the
83 tarball.</para>
84
85 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
86
87<screen role="root"><userinput>make install install-dev install-lib &amp;&amp;
88mv /usr/share/doc/acl /usr/share/doc/acl-&acl-version;</userinput></screen>
89
90 <para>You should now re-install <application><ulink
91 url="&lfs-root;/chapter06/coreutils.html">Coreutils</ulink>
92 </application> and proceed to run the test suite.</para>
93
94 <para>There are three sets of tests that come with this package. Issue the
95 following to execute all three:
96 <command>make tests root-tests ext-tests</command>.</para>
97
98 </sect2>
99
100 <sect2 role="configuration">
101 <title>Configuring attr</title>
102 <sect3><title>Configuration Information</title>
103
104 <para>There is no configuration to <application>acl</application> itself,
105 but to get any use out of <application>acl</application>, a filesystem
106 needs to support access control lists.</para>
107
108 <para>One way to achieve this is to add the acl option to an ext3
109 filesystem in the /etc/fstab file as shown below.</para>
110
111<screen># file system mount-point type options dump fsck
112# order
113
114/dev/sda1 / ext3 defaults,acl,user_xattr 0 2</screen>
115
116 </sect3>
117
118 </sect2>
119
120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Programs</segtitle>
125 <segtitle>Installed Library</segtitle>
126 <segtitle>Installed Director(y,ies)</segtitle>
127
128 <seglistitem>
129 <seg>chacl, getfacl, and setfacl</seg>
130 <seg>libacl.{so,a}</seg>
131 <seg>/usr/{include/acl,share/doc/acl-&acl-version;}</seg>
132 </seglistitem>
133 </segmentedlist>
134
135 <variablelist>
136 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
137 <?dbfo list-presentation="list"?>
138 <?dbhtml list-presentation="table"?>
139
140 <varlistentry id="chacl">
141 <term><command>chacl</command></term>
142 <listitem>
143 <para>changes the access control list of a file or directory.</para>
144 <indexterm zone="acl chacl">
145 <primary sortas="b-chacl">chacl</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="getfacl">
151 <term><command>getfacl</command></term>
152 <listitem>
153 <para>gets file access control lists.</para>
154 <indexterm zone="acl getfacl">
155 <primary sortas="b-getfacl">getfacl</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="setfacl">
161 <term><command>setfacl</command></term>
162 <listitem>
163 <para>sets file access control lists.</para>
164 <indexterm zone="acl setfacl">
165 <primary sortas="b-setfacl">setfacl</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry id="libacl">
171 <term><filename class='libraryfile'>libacl.{so,a}</filename></term>
172 <listitem>
173 <para>contains the <application>acl</application> API functions.</para>
174 <indexterm zone="acl libacl">
175 <primary sortas="c-libacl">libacl.{so,a}</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 </variablelist>
181
182 </sect2>
183
184</sect1>
Note: See TracBrowser for help on using the repository browser.