acl.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. <sect1 id="ch-system-acl" role="wrap">
  8. <?dbhtml filename="acl.html"?>
  9. <sect1info condition="script">
  10. <productname>acl</productname>
  11. <productnumber>&acl-version;</productnumber>
  12. <address>&acl-url;</address>
  13. </sect1info>
  14. <title>Acl-&acl-version;</title>
  15. <indexterm zone="ch-system-acl">
  16. <primary sortas="a-Acl">Acl</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Acl package contains utilities to administer Access Control Lists,
  21. which are used to define more fine-grained discretionary access rights for
  22. files and directories.</para>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&acl-fin-sbu;</seg>
  28. <seg>&acl-fin-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of Acl</title>
  34. <para>Prepare Acl for compilation:</para>
  35. <screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
  36. --bindir=/bin \
  37. --disable-static \
  38. --libexecdir=/usr/lib \
  39. --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen>
  40. <screen revision="systemd"><userinput remap="configure">
  41. ./configure --prefix=/usr \
  42. --disable-static \
  43. --libexecdir=/usr/lib \
  44. --docdir=/usr/share/doc/acl-&acl-version;</userinput></screen>
  45. <para>Compile the package:</para>
  46. <screen><userinput remap="make">make</userinput></screen>
  47. <para>The Acl tests need to be run on a filesystem that supports access
  48. controls after <application>Coreutils</application> has been built with the
  49. Acl libraries. If desired, return to this package and run <command>make
  50. check</command> after <application>Coreutils</application> has been built
  51. later in this chapter.</para>
  52. <para>Install the package:</para>
  53. <screen><userinput remap="install">make install</userinput></screen>
  54. <para>The shared library needs to be moved to
  55. <filename class="directory">/lib</filename>, and as a result the
  56. <filename class="extension">.so</filename> file in
  57. <filename class="directory">/usr/lib</filename> will need to be recreated:</para>
  58. <screen><userinput remap="install">mv -v /usr/lib/libacl.so.* /lib
  59. ln -sfv ../../lib/$(readlink /usr/lib/libacl.so) /usr/lib/libacl.so</userinput></screen>
  60. </sect2>
  61. <sect2 id="contents-acl" role="content">
  62. <title>Contents of Acl</title>
  63. <segmentedlist>
  64. <segtitle>Installed programs</segtitle>
  65. <segtitle>Installed library</segtitle>
  66. <segtitle>Installed directories</segtitle>
  67. <seglistitem>
  68. <seg>chacl, getfacl, and setfacl</seg>
  69. <seg>libacl.so</seg>
  70. <seg>/usr/include/acl and /usr/share/doc/acl-&acl-version;</seg>
  71. </seglistitem>
  72. </segmentedlist>
  73. <variablelist>
  74. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  75. <?dbfo list-presentation="list"?>
  76. <?dbhtml list-presentation="table"?>
  77. <varlistentry id="chacl">
  78. <term><command>chacl</command></term>
  79. <listitem>
  80. <para>Changes the access control list of a file
  81. or directory</para>
  82. <indexterm zone="ch-system-acl chacl">
  83. <primary sortas="b-chacl">chacl</primary>
  84. </indexterm>
  85. </listitem>
  86. </varlistentry>
  87. <varlistentry id="getfacl">
  88. <term><command>getfacl</command></term>
  89. <listitem>
  90. <para>Gets file access control lists</para>
  91. <indexterm zone="ch-system-acl getfacl">
  92. <primary sortas="b-getfacl">getfacl</primary>
  93. </indexterm>
  94. </listitem>
  95. </varlistentry>
  96. <varlistentry id="setfacl">
  97. <term><command>setfacl</command></term>
  98. <listitem>
  99. <para>Sets file access control lists</para>
  100. <indexterm zone="ch-system-acl setfacl">
  101. <primary sortas="b-setfacl">setfacl</primary>
  102. </indexterm>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry id="libacl">
  106. <term><filename class="libraryfile">libacl</filename></term>
  107. <listitem>
  108. <para>Contains the library functions for manipulating Access Control Lists</para>
  109. <indexterm zone="ch-system-acl libacl">
  110. <primary sortas="c-libacl">libacl</primary>
  111. </indexterm>
  112. </listitem>
  113. </varlistentry>
  114. </variablelist>
  115. </sect2>
  116. </sect1>