source: postlfs/security/acl.xml@ 686435b

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

Update to sqlite-3.7.8
Update to acl-2.2.51

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

  • Property mode set to 100644
File size: 6.8 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}</userinput></screen>
98
99 <para>You should now re-install <application><ulink
100 url="&lfs-root;/chapter06/coreutils.html">Coreutils</ulink>
101 </application> and proceed to run the test suite.</para>
102
103 <para>There are three sets of tests that come with this package. Issue the
104 following to execute all three:
105 <command>make tests root-tests ext-tests</command>.</para>
106
107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
112 <para><command>sed -i ... include/builddefs.in</command>: This command
113 changes the documentation directory to a versioned directory and provides
114 for a DESTDIR installation.</para>
115
116 <para><command>chmod ...</command>: This command modifies the permissions
117 of installed library files to standards.</para>
118
119 </sect2>
120
121 <sect2 role="configuration">
122 <title>Configuring acl</title>
123 <sect3><title>Configuration Information</title>
124
125 <para>There is no configuration to <application>acl</application> itself,
126 but to get any use out of <application>acl</application>, a filesystem
127 needs to support access control lists.</para>
128
129 <para>One way to achieve this is to add the acl option to an ext3
130 filesystem in the <filename>/etc/fstab</filename> file as shown
131 below:</para>
132
133<screen># file system mount-point type options dump fsck
134# order
135
136/dev/sda1 / ext3 defaults,acl,user_xattr 0 2</screen>
137
138 </sect3>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Programs</segtitle>
147 <segtitle>Installed Library</segtitle>
148 <segtitle>Installed Directories</segtitle>
149
150 <seglistitem>
151 <seg>chacl, getfacl, and setfacl</seg>
152 <seg>libacl.{so,a}</seg>
153 <seg>/usr/{include/acl,share/doc/acl-&acl-version;}</seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="chacl">
163 <term><command>chacl</command></term>
164 <listitem>
165 <para>changes the access control list of a file or directory.</para>
166 <indexterm zone="acl chacl">
167 <primary sortas="b-chacl">chacl</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="getfacl">
173 <term><command>getfacl</command></term>
174 <listitem>
175 <para>gets file access control lists.</para>
176 <indexterm zone="acl getfacl">
177 <primary sortas="b-getfacl">getfacl</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="setfacl">
183 <term><command>setfacl</command></term>
184 <listitem>
185 <para>sets file access control lists.</para>
186 <indexterm zone="acl setfacl">
187 <primary sortas="b-setfacl">setfacl</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry id="libacl">
193 <term><filename class='libraryfile'>libacl.{so,a}</filename></term>
194 <listitem>
195 <para>contains the <application>acl</application> API functions.</para>
196 <indexterm zone="acl libacl">
197 <primary sortas="c-libacl">libacl.{so,a}</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 </variablelist>
203
204 </sect2>
205
206</sect1>
Note: See TracBrowser for help on using the repository browser.