source: chapter08/acl.xml@ 37e35d2

multilib-10.1
Last change on this file since 37e35d2 was 37e35d2, checked in by Thomas Trepl <thomas@…>, 4 years ago

Update to new lfs structure

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 6.4 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
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,
27 which are used to define more fine-grained discretionary access rights for
28 files and directories.</para>
29
30 <segmentedlist>
31 <segtitle>&buildtime;</segtitle>
32 <segtitle>&diskspace;</segtitle>
33
34 <seglistitem>
35 <seg>&acl-fin-sbu;</seg>
36 <seg>&acl-fin-du;</seg>
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
47<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
48 --bindir=/bin \
49 --disable-static \
50 --libexecdir=/usr/lib \
51 --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen>
52
53<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
54 --disable-static \
55 --libexecdir=/usr/lib \
56 --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen>
57
58 <para>Compile the package:</para>
59
60<screen><userinput remap="make">make</userinput></screen>
61
62 <para>The Acl tests need to be run on a filesystem that supports access
63 controls after <application>Coreutils</application> has been built with the
64 Acl libraries. If desired, return to this package and run <command>make
65 check</command> after <application>Coreutils</application> has been built
66 later in this chapter.</para>
67
68 <para>Install the package:</para>
69
70<screen><userinput remap="install">make install</userinput></screen>
71
72 <para>The shared library needs to be moved to
73 <filename class="directory">/lib</filename>, and as a result the
74 <filename class="extension">.so</filename> file in
75 <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
76
77<screen><userinput remap="install">mv -v /usr/lib/libacl.so.* /lib
78ln -sfv ../../lib/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so</userinput></screen>
79
80 </sect2>
81
82 <!-- - - - - - - - - - -->
83 <!-- Multilib - 32bit -->
84 <!-- - - - - - - - - - -->
85
86 <sect2 arch="ml_32,ml_all" role="installation">
87 <title>Installation of Acl - 32bit</title>
88
89 <para>Clean previous build:</para>
90
91<screen><userinput remap="pre">make distclean</userinput></screen>
92
93 <para>Prepare Xz for compilation:</para>
94
95<screen><userinput remap="configure">CC="gcc -m32" ./configure \
96 --prefix=/usr \
97 --disable-static \
98 --libdir=&usr-lib-m32; \
99 --libexecdir=&usr-lib-m32; \
100 --host=i686-pc-linux-gnu</userinput></screen>
101
102 <para>Compile the package:</para>
103
104<screen><userinput remap="make">make</userinput></screen>
105
106 <para>Install the package:</para>
107
108<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
109cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
110rm -rf DESTDIR</userinput></screen>
111
112 </sect2><!-- m32 -->
113
114 <!-- - - - - - - - - - -->
115 <!-- Multilib - x32bit -->
116 <!-- - - - - - - - - - -->
117
118 <sect2 arch="ml_x32,ml_all" role="installation">
119 <title>Installation of Acl - x32bit</title>
120
121 <para>Clean previous build:</para>
122
123<screen><userinput remap="pre">make distclean</userinput></screen>
124
125 <para>Prepare Xz for compilation:</para>
126
127<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
128 --prefix=/usr \
129 --disable-static \
130 --libdir=&usr-lib-mx32; \
131 --libexecdir=&usr-lib-mx32; \
132 --host=x86_64-pc-linux-gnux32</userinput></screen>
133
134 <para>Compile the package:</para>
135
136<screen><userinput remap="make">make</userinput></screen>
137
138 <para>Install the package:</para>
139
140<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
141cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
142rm -rf DESTDIR</userinput></screen>
143
144 </sect2><!-- mx32 -->
145
146 <sect2 id="contents-acl" role="content">
147 <title>Contents of Acl</title>
148
149 <segmentedlist>
150 <segtitle>Installed programs</segtitle>
151 <segtitle>Installed library</segtitle>
152 <segtitle>Installed directories</segtitle>
153
154 <seglistitem>
155 <seg>chacl, getfacl, and setfacl</seg>
156 <seg>libacl.so</seg>
157 <seg>/usr/include/acl and /usr/share/doc/acl-&acl-version;</seg>
158 </seglistitem>
159 </segmentedlist>
160
161 <variablelist>
162 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
163 <?dbfo list-presentation="list"?>
164 <?dbhtml list-presentation="table"?>
165
166 <varlistentry id="chacl">
167 <term><command>chacl</command></term>
168 <listitem>
169 <para>Changes the access control list of a file
170 or directory</para>
171 <indexterm zone="ch-system-acl chacl">
172 <primary sortas="b-chacl">chacl</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="getfacl">
178 <term><command>getfacl</command></term>
179 <listitem>
180 <para>Gets file access control lists</para>
181 <indexterm zone="ch-system-acl getfacl">
182 <primary sortas="b-getfacl">getfacl</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="setfacl">
188 <term><command>setfacl</command></term>
189 <listitem>
190 <para>Sets file access control lists</para>
191 <indexterm zone="ch-system-acl setfacl">
192 <primary sortas="b-setfacl">setfacl</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="libacl">
198 <term><filename class="libraryfile">libacl</filename></term>
199 <listitem>
200 <para>Contains the library functions for manipulating Access Control Lists</para>
201 <indexterm zone="ch-system-acl libacl">
202 <primary sortas="c-libacl">libacl</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 </variablelist>
208
209 </sect2>
210
211</sect1>
Note: See TracBrowser for help on using the repository browser.