source: BOOK/final-system/common/acl.xml@ 7cc51dea

clfs-3.0.0-systemd systemd
Last change on this file since 7cc51dea was 24b004c, checked in by Chris Staub <chris@…>, 11 years ago

Remove end-of-line spaces

  • Property mode set to 100644
File size: 4.1 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 <title>ACL-&acl-version;</title>
12
13 <indexterm zone="ch-system-acl">
14 <primary sortas="a-ACL">ACL</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>ACL is a library for getting and setting POSIX Access Control Lists.</para>
21
22 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of ACL</title>
26
27 <para os="a">Apply a sed to install the documentation with a versioned
28 directory:</para>
29
30<screen os="b"><userinput>sed -i -e 's|/@pkg_name@|&amp;-@pkg_version@|' include/builddefs.in</userinput></screen>
31
32 <para os="c">Apply a sed to fix a few tests:</para>
33
34<screen os="d"><userinput>sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen>
35
36 <para os="e">Prepare ACL for compilation:</para>
37
38<screen os="f"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
39
40 <para os="g">Compile the package:</para>
41
42<screen os="h"><userinput>make</userinput></screen>
43
44 <para os="i">The Acl tests need a filesystem which supports access controls
45 after Coreutils has been built with the Acl libraries. Return to this
46 section after Coreutils has been installed. Test the results:</para>
47
48<screen os="j"><userinput remap="test">make tests</userinput></screen>
49
50 <para os="k">Install the package:</para>
51
52<screen os="l"><userinput>make install install-dev install-lib</userinput></screen>
53
54 <para os="m">Move the shared library to <filename class="directory">/lib</filename>
55 and recreate the symlink in <filename class="directory">/usr/lib</filename>:</para>
56
57<screen os="n"><userinput>mv -v /usr/lib/libacl.so.* /lib
58ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so</userinput></screen>
59
60 <para os="o">Set the proper permissions on the shared library:</para>
61
62<screen os="p"><userinput>chmod 755 -v /lib/libacl.so.1.1.0</userinput></screen>
63
64 </sect2>
65
66 <sect2 id="contents-acl" role="content">
67 <title>Contents of ACL</title>
68
69 <segmentedlist>
70 <segtitle>Installed programs</segtitle>
71 <segtitle>Installed libraries</segtitle>
72 <segtitle>Installed directories</segtitle>
73
74 <seglistitem>
75 <seg>chacl, getfacl, setfacl</seg>
76 <seg>libattr.[a,so]</seg>
77 <seg>/usr/include/acl, /usr/share/doc/acl-&acl-version;</seg>
78 </seglistitem>
79 </segmentedlist>
80
81 <variablelist>
82 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
83 <?dbfo list-presentation="list"?>
84 <?dbhtml list-presentation="table"?>
85
86 <varlistentry id="chacl">
87 <term><command>chacl</command></term>
88 <listitem>
89 <para>Changes the access control list of a file or directory</para>
90 <indexterm zone="ch-system-acl chacl">
91 <primary sortas="b-chacl">chacl</primary>
92 </indexterm>
93 </listitem>
94 </varlistentry>
95
96 <varlistentry id="getfacl">
97 <term><command>getfacl</command></term>
98 <listitem>
99 <para>Get file access control lists</para>
100 <indexterm zone="ch-system-acl getfacl">
101 <primary sortas="b-getfacl">getfacl</primary>
102 </indexterm>
103 </listitem>
104 </varlistentry>
105
106 <varlistentry id="setfacl">
107 <term><command>setfacl</command></term>
108 <listitem>
109 <para>Set file access control lists</para>
110 <indexterm zone="ch-system-acl setfacl">
111 <primary sortas="b-setfacl">setfacl</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="libacl">
117 <term><filename class="libraryfile">libacl</filename></term>
118 <listitem>
119 <para>Library to manage access control lists</para>
120 <indexterm zone="ch-system-acl libacl">
121 <primary sortas="c-libacl">libacl</primary>
122 </indexterm>
123 </listitem>
124 </varlistentry>
125
126 </variablelist>
127
128 </sect2>
129
130</sect1>
Note: See TracBrowser for help on using the repository browser.