source: chapter06/acl.xml@ eec8fcb

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since eec8fcb was eec8fcb, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Add acl and attr packages
Minor grammar fixes
Update standards compliance statments
Put e2fsprogs executables in /bin

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10512 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.7 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>Modify the documentation directory so that it is a versioned
46 directory:</para>
47
48<screen><userinput remap="pre">sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' include/builddefs.in</userinput></screen>
49
50 <para>Fix some broken tests:</para>
51
52<screen><userinput remap="pre">sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen>
53
54 <para>Prepare Acl for compilation:</para>
55
56<screen><userinput remap="configure">./configure --prefix=/usr \
57 --bindir=/bin \
58 --libexecdir=/usr/lib</userinput></screen>
59
60 <para>Compile the package:</para>
61
62<screen><userinput remap="make">make</userinput></screen>
63
64 <para>The Acl tests need to be run on a filesystem that supports access
65 controls after <application>Coreutils</application> has been built with the
66 Acl libraries. If desired, return to this package and run <command>make
67 tests</command> after <application>Coreutils</application> has been built
68 later in this chapter.</para>
69
70 <para>Install the package:</para>
71
72<screen><userinput remap="install">make install install-dev install-lib
73chmod -v 755 /usr/lib/libacl.so</userinput></screen>
74
75 <para>The shared library needs to be moved to
76 <filename class="directory">/lib</filename>, and as a result the
77 <filename class="extension">.so</filename> file in
78 <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
79
80<screen><userinput remap="install">mv -v /usr/lib/libacl.so.* /lib
81ln -sfv ../../lib/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so</userinput></screen>
82
83 </sect2>
84
85 <sect2 id="contents-acl" role="content">
86 <title>Contents of Acl</title>
87
88 <segmentedlist>
89 <segtitle>Installed programs</segtitle>
90 <segtitle>Installed library</segtitle>
91 <segtitle>Installed directories</segtitle>
92
93 <seglistitem>
94 <seg>chacl, getfacl, and setacl</seg>
95 <seg>libacl.{a,so}</seg>
96 <seg>/usr/include/acl, /usr/share/doc/acl-&acl-version;</seg>
97 </seglistitem>
98 </segmentedlist>
99
100 <variablelist>
101 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
102 <?dbfo list-presentation="list"?>
103 <?dbhtml list-presentation="table"?>
104
105 <varlistentry id="chacl">
106 <term><command>chacl</command></term>
107 <listitem>
108 <para>Changes the access control list of a file
109 or directory.</para>
110 <indexterm zone="ch-system-acl chacl">
111 <primary sortas="b-chacl">chacl</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="getfacl">
117 <term><command>getfacl</command></term>
118 <listitem>
119 <para>Gets file access control lists.</para>
120 <indexterm zone="ch-system-acl getfacl">
121 <primary sortas="b-getfacl">getfacl</primary>
122 </indexterm>
123 </listitem>
124 </varlistentry>
125
126 <varlistentry id="setacl">
127 <term><command>setacl</command></term>
128 <listitem>
129 <para>Sets file access control lists.</para>
130 <indexterm zone="ch-system-acl setacl">
131 <primary sortas="b-setacl">setacl</primary>
132 </indexterm>
133 </listitem>
134 </varlistentry>
135
136 <varlistentry id="libacl">
137 <term><filename class="libraryfile">libacl</filename></term>
138 <listitem>
139 <para>Contains the <application>Acl</application> API functions.</para>
140 <indexterm zone="ch-system-acl libacl">
141 <primary sortas="c-libacl">libacl</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 </variablelist>
147
148 </sect2>
149
150</sect1>
Note: See TracBrowser for help on using the repository browser.