In ACL section:

- Use of &prompt.user; for %
- Add a whitespace between prompt and command for consistency (this
  change could be done in a separate commit, but there the whitespace
  can be seen as content)
- Use option tags for command line options instead of literal ones.
This commit is contained in:
Marc Fonvieille 2003-12-30 17:49:19 +00:00
parent 45353a27f3
commit 38e7307b6b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=19377

View file

@ -5345,7 +5345,7 @@ drwxr-xr-x 2 robert robert 512 Nov 10 11:54 public_html</programlisting>
<acronym>ACL</acronym> settings on the <filename>test</filename> <acronym>ACL</acronym> settings on the <filename>test</filename>
file, one would use the command:</para> file, one would use the command:</para>
<screen>%<userinput>getfacl <filename>test</filename></userinput> <screen>&prompt.user; <userinput>getfacl <filename>test</filename></userinput>
#file:test #file:test
#owner:1001 #owner:1001
#group:1001 #group:1001
@ -5356,17 +5356,17 @@ drwxr-xr-x 2 robert robert 512 Nov 10 11:54 public_html</programlisting>
<para>To change the <acronym>ACL</acronym> settings on this file, <para>To change the <acronym>ACL</acronym> settings on this file,
invoke the &man.setfacl.1; utility. Observe:</para> invoke the &man.setfacl.1; utility. Observe:</para>
<screen>&prompt.user;<userinput>setfacl -k <filename>test</filename></userinput></screen> <screen>&prompt.user; <userinput>setfacl -k <filename>test</filename></userinput></screen>
<para>The <literal>-k</literal> flag will remove all of the <para>The <option>-k</option> flag will remove all of the
currently defined <acronym>ACL</acronym>s from a file or file currently defined <acronym>ACL</acronym>s from a file or file
system. The more preferable method would be to use system. The more preferable method would be to use
<literal>-b</literal> as it leaves the basic fields required for <option>-b</option> as it leaves the basic fields required for
<acronym>ACL</acronym>s to work.</para> <acronym>ACL</acronym>s to work.</para>
<screen>&prompt.user;<userinput>setfacl -m u:trhodes:rwx,group:web:r--,o::--- <filename>test</filename></userinput></screen> <screen>&prompt.user; <userinput>setfacl -m u:trhodes:rwx,group:web:r--,o::--- <filename>test</filename></userinput></screen>
<para>In the aforementioned command, the <literal>-m</literal> <para>In the aforementioned command, the <option>-m</option>
option was used to modify the default <acronym>ACL</acronym> option was used to modify the default <acronym>ACL</acronym>
entries. Since there were no pre-defined entries, as they were entries. Since there were no pre-defined entries, as they were
removed by the previous command, this will restore the default removed by the previous command, this will restore the default