source: chapter06/acl.xml@ 8eb3fe4

multilib-10.1
Last change on this file since 8eb3fe4 was 8eb3fe4, checked in by Thomas Trepl <thomas@…>, 5 years ago

First apply of multilib-patch of April 1st, 2019

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

  • Property mode set to 100644
File size: 6.2 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-ch6-sbu;</seg>
36 <seg>&acl-ch6-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 <sect2 arch="multilib" role="installation">
83 <title>Installation of Acl - 32-bit</title>
84
85 <para>Clean previous build:</para>
86
87<screen><userinput remap="pre">make distclean</userinput></screen>
88
89 <para>Prepare Acl for compilation:</para>
90
91<screen><userinput remap="configure">CC="gcc -m32" ./configure \
92 --prefix=/usr --libdir=/usr/lib32 \
93 --disable-static --libexecdir=/usr/lib32 \
94 --host=i686-pc-linux-gnu</userinput></screen>
95
96 <para>Compile the package:</para>
97
98<screen><userinput remap="make">make</userinput></screen>
99
100 <para>Install the package:</para>
101
102<screen><userinput remap="install">make DESTDIR=$(pwd)/DESTDIR install
103cp -Rv DESTDIR/usr/lib32/* /usr/lib32
104rm -rf DESTDIR</userinput></screen>
105
106 </sect2>
107
108 <sect2 arch="multilib" role="installation">
109 <title>Installation of Acl - x32-bit</title>
110
111 <para>Clean previous build:</para>
112
113<screen><userinput remap="pre">make distclean</userinput></screen>
114
115 <para>Prepare Acl for compilation:</para>
116
117<screen><userinput remap="configure">CC="gcc -mx32" ./configure \
118 --prefix=/usr --libdir=/usr/libx32 \
119 --disable-static --libexecdir=/usr/libx32 \
120 --host=x86_64-pc-linux-gnux32</userinput></screen>
121
122 <para>Compile the package:</para>
123
124<screen><userinput remap="make">make</userinput></screen>
125
126 <para>Install the package:</para>
127
128<screen><userinput remap="install">make DESTDIR=$(pwd)/DESTDIR install
129cp -Rv DESTDIR/usr/libx32/* /usr/libx32
130rm -rf DESTDIR</userinput></screen>
131
132 </sect2>
133
134 <sect2 id="contents-acl" role="content">
135 <title>Contents of Acl</title>
136
137 <segmentedlist>
138 <segtitle>Installed programs</segtitle>
139 <segtitle>Installed library</segtitle>
140 <segtitle>Installed directories</segtitle>
141
142 <seglistitem>
143 <seg>chacl, getfacl, and setfacl</seg>
144 <seg>libacl.so</seg>
145 <seg>/usr/include/acl and /usr/share/doc/acl-&acl-version;</seg>
146 </seglistitem>
147 </segmentedlist>
148
149 <variablelist>
150 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
151 <?dbfo list-presentation="list"?>
152 <?dbhtml list-presentation="table"?>
153
154 <varlistentry id="chacl">
155 <term><command>chacl</command></term>
156 <listitem>
157 <para>Changes the access control list of a file
158 or directory</para>
159 <indexterm zone="ch-system-acl chacl">
160 <primary sortas="b-chacl">chacl</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="getfacl">
166 <term><command>getfacl</command></term>
167 <listitem>
168 <para>Gets file access control lists</para>
169 <indexterm zone="ch-system-acl getfacl">
170 <primary sortas="b-getfacl">getfacl</primary>
171 </indexterm>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry id="setfacl">
176 <term><command>setfacl</command></term>
177 <listitem>
178 <para>Sets file access control lists</para>
179 <indexterm zone="ch-system-acl setfacl">
180 <primary sortas="b-setfacl">setfacl</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="libacl">
186 <term><filename class="libraryfile">libacl</filename></term>
187 <listitem>
188 <para>Contains the library functions for manipulating Access Control Lists</para>
189 <indexterm zone="ch-system-acl libacl">
190 <primary sortas="c-libacl">libacl</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 </variablelist>
196
197 </sect2>
198
199</sect1>
Note: See TracBrowser for help on using the repository browser.