source: postlfs/security/acl.xml@ 20e6cade

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 20e6cade was 20e6cade, checked in by Bruce Dubbs <bdubbs@…>, 13 years ago

Update to apache-2.2.21
Update to rsync-3.0.9.
Remove rsync-client and move rsync to network programs.

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

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