source: chapter08/acl.xml@ 6a156bab

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 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 6a156bab was fb386e0, checked in by Thomas Trepl <thomas@…>, 4 years ago

Rename package entities to be independent of chapter numbering

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11921 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-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">
54./configure --prefix=/usr \
55 --disable-static \
56 --libexecdir=/usr/lib \
57 --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen>
58
59 <para>Compile the package:</para>
60
61<screen><userinput remap="make">make</userinput></screen>
62
63 <para>The Acl tests need to be run on a filesystem that supports access
64 controls after <application>Coreutils</application> has been built with the
65 Acl libraries. If desired, return to this package and run <command>make
66 check</command> after <application>Coreutils</application> has been built
67 later in this chapter.</para>
68
69 <para>Install the package:</para>
70
71<screen><userinput remap="install">make install</userinput></screen>
72
73 <para>The shared library needs to be moved to
74 <filename class="directory">/lib</filename>, and as a result the
75 <filename class="extension">.so</filename> file in
76 <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
77
78<screen><userinput remap="install">mv -v /usr/lib/libacl.so.* /lib
79ln -sfv ../../lib/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so</userinput></screen>
80
81 </sect2>
82
83 <sect2 id="contents-acl" role="content">
84 <title>Contents of Acl</title>
85
86 <segmentedlist>
87 <segtitle>Installed programs</segtitle>
88 <segtitle>Installed library</segtitle>
89 <segtitle>Installed directories</segtitle>
90
91 <seglistitem>
92 <seg>chacl, getfacl, and setfacl</seg>
93 <seg>libacl.so</seg>
94 <seg>/usr/include/acl and /usr/share/doc/acl-&acl-version;</seg>
95 </seglistitem>
96 </segmentedlist>
97
98 <variablelist>
99 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
100 <?dbfo list-presentation="list"?>
101 <?dbhtml list-presentation="table"?>
102
103 <varlistentry id="chacl">
104 <term><command>chacl</command></term>
105 <listitem>
106 <para>Changes the access control list of a file
107 or directory</para>
108 <indexterm zone="ch-system-acl chacl">
109 <primary sortas="b-chacl">chacl</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 <varlistentry id="getfacl">
115 <term><command>getfacl</command></term>
116 <listitem>
117 <para>Gets file access control lists</para>
118 <indexterm zone="ch-system-acl getfacl">
119 <primary sortas="b-getfacl">getfacl</primary>
120 </indexterm>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry id="setfacl">
125 <term><command>setfacl</command></term>
126 <listitem>
127 <para>Sets file access control lists</para>
128 <indexterm zone="ch-system-acl setfacl">
129 <primary sortas="b-setfacl">setfacl</primary>
130 </indexterm>
131 </listitem>
132 </varlistentry>
133
134 <varlistentry id="libacl">
135 <term><filename class="libraryfile">libacl</filename></term>
136 <listitem>
137 <para>Contains the library functions for manipulating Access Control Lists</para>
138 <indexterm zone="ch-system-acl libacl">
139 <primary sortas="c-libacl">libacl</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 </variablelist>
145
146 </sect2>
147
148</sect1>
Note: See TracBrowser for help on using the repository browser.