Add a directory output where ACL use is shown. Document how to tell when

ACLs are being used.

Requested by:	rwatson (who also provided this output)
This commit is contained in:
Tom Rhodes 2002-12-30 22:39:44 +00:00
parent b07113b2b0
commit b793dc47bc
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15468

View file

@ -37,7 +37,7 @@
<para>How Unix file permissions work.</para> <para>How Unix file permissions work.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Understand what file system ACLs are and how to use them. <para>Understand what file system <acronym>ACLs</acronym> are and how to use them.
</listitem> </listitem>
<listitem> <listitem>
<para>What processes, daemons, and signals are.</para> <para>What processes, daemons, and signals are.</para>
@ -284,6 +284,20 @@
users of the system, and re-enabling <acronym>ACLs</acronym> may re-attach the previous users of the system, and re-enabling <acronym>ACLs</acronym> may re-attach the previous
<acronym>ACLs</acronym> to files that have since had their permissions changed, <acronym>ACLs</acronym> to files that have since had their permissions changed,
resulting in other unpredictable behavior.</para></note> resulting in other unpredictable behavior.</para></note>
<para>File systems with <acronym>ACLs</acronym> enabled will show a <literal>+</literal>
(plus) sign in their permission settings when viewed. For example:</para>
<programlisting>drwx------ 2 robert robert 512 Dec 27 11:54 private
drwxrwx---+ 2 robert robert 512 Dec 23 10:57 directory1
drwxrwx---+ 2 robert robert 512 Dec 22 10:20 directory2
drwxrwx---+ 2 robert robert 512 Dec 27 11:57 directory3
drwxr-xr-x 2 robert robert 512 Nov 10 11:54 public_html</programlisting>
<para>Here we see that the <filename>directory1</filename>,
<filename>directory2</filename>, and <filename>directory3</filename>
directories are all taking advantage of <acronym>ACLs</acronym>. The
<filename>public_html</filename> directory is not.</para>
</sect1> </sect1>
<sect1 id="dirstructure"> <sect1 id="dirstructure">
@ -296,7 +310,7 @@
<quote>/</quote>. This directory is the first one mounted at <quote>/</quote>. This directory is the first one mounted at
boot time and it contains the base system necessary to prepare boot time and it contains the base system necessary to prepare
the operating system for multi-user operation. The root the operating system for multi-user operation. The root
directory also contains mount points for every other filesystem directory also contains mount points for every other file system
that you may want to mount.</para> that you may want to mount.</para>
<para>A mount point is a directory where additional filesystems can <para>A mount point is a directory where additional filesystems can