From 38e7307b6b243e770188aa7a0a7442fca1d67805 Mon Sep 17 00:00:00 2001 From: Marc Fonvieille Date: Tue, 30 Dec 2003 17:49:19 +0000 Subject: [PATCH] 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. --- en_US.ISO8859-1/books/handbook/security/chapter.sgml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/security/chapter.sgml b/en_US.ISO8859-1/books/handbook/security/chapter.sgml index 67278dd6a0..68250efb7f 100644 --- a/en_US.ISO8859-1/books/handbook/security/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/security/chapter.sgml @@ -5345,7 +5345,7 @@ drwxr-xr-x 2 robert robert 512 Nov 10 11:54 public_html ACL settings on the test file, one would use the command: - %getfacl test + &prompt.user; getfacl test #file:test #owner:1001 #group:1001 @@ -5356,17 +5356,17 @@ drwxr-xr-x 2 robert robert 512 Nov 10 11:54 public_html To change the ACL settings on this file, invoke the &man.setfacl.1; utility. Observe: - &prompt.user;setfacl -k test + &prompt.user; setfacl -k test - The -k flag will remove all of the + The flag will remove all of the currently defined ACLs from a file or file system. The more preferable method would be to use - -b as it leaves the basic fields required for + as it leaves the basic fields required for ACLs to work. - &prompt.user;setfacl -m u:trhodes:rwx,group:web:r--,o::--- test + &prompt.user; setfacl -m u:trhodes:rwx,group:web:r--,o::--- test - In the aforementioned command, the -m + In the aforementioned command, the option was used to modify the default ACL entries. Since there were no pre-defined entries, as they were removed by the previous command, this will restore the default