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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7389805 was 99beb4e, checked in by Chris Staub <chris@…>, 11 years ago

Updates to attr and acl instructions

  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[fbaca08]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">Prepare ACL for compilation:</para>
28
[99beb4e]29<screen os="b"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
[fbaca08]30
31 <para os="c">Compile the package:</para>
32
33<screen os="d"><userinput>make</userinput></screen>
34
35 <para os="e">This package does not come with a test suite.</para>
36
37 <para os="f">Install the package:</para>
38
39<screen os="g"><userinput>make install install-dev install-lib</userinput></screen>
40
[99beb4e]41 <para os="h">Move the shared library to <filename class="directory">/lib</filename>
42 and recreate the symlink in <filename class="directory">/usr/lib</filename>:</para>
[fbaca08]43
[99beb4e]44<screen os="i"><userinput>mv -v /usr/lib/libacl.so.* /lib
45ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so</userinput></screen>
[fbaca08]46
[99beb4e]47 <para os="j">Set the proper permissions on the shared library:</para>
[fbaca08]48
49<screen os="k"><userinput>chmod 755 -v /lib/libacl.so.1.1.0</userinput></screen>
50
51 </sect2>
52
53 <sect2 id="contents-acl" role="content">
54 <title>Contents of ACL</title>
55
56 <segmentedlist>
57 <segtitle>Installed programs</segtitle>
58 <segtitle>Installed libraries</segtitle>
59 <segtitle>Installed directories</segtitle>
60
61 <seglistitem>
62 <seg>chacl, getfacl, setfacl</seg>
63 <seg>libattr.[a,so]</seg>
64 <seg>/usr/include/acl, /usr/share/doc/acl</seg>
65 </seglistitem>
66 </segmentedlist>
67
68 <variablelist>
69 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
70 <?dbfo list-presentation="list"?>
71 <?dbhtml list-presentation="table"?>
72
73 <varlistentry id="chacl">
74 <term><command>chacl</command></term>
75 <listitem>
76 <para>Changes the access control list of a file or directory</para>
77 <indexterm zone="ch-system-acl chacl">
78 <primary sortas="b-chacl">chacl</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="getfacl">
84 <term><command>getfacl</command></term>
85 <listitem>
86 <para>Get file access control lists</para>
87 <indexterm zone="ch-system-acl getfacl">
88 <primary sortas="b-getfacl">getfacl</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="setfacl">
94 <term><command>setfacl</command></term>
95 <listitem>
96 <para>Set file access control lists</para>
97 <indexterm zone="ch-system-acl setfacl">
98 <primary sortas="b-setfacl">setfacl</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="libacl">
104 <term><filename class="libraryfile">libacl</filename></term>
105 <listitem>
106 <para>Library to manage access control lists</para>
107 <indexterm zone="ch-system-acl libacl">
108 <primary sortas="c-libacl">libacl</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 </variablelist>
114
115 </sect2>
116
117</sect1>
Note: See TracBrowser for help on using the repository browser.