Penguin
Diff: AccessControlLists
EditPageHistoryDiffInfoLikePages

Differences between version 4 and previous revision of AccessControlLists.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 4 Last edited on Wednesday, August 6, 2003 11:34:07 am by JeeKay Revert
Older page: version 3 Last edited on Wednesday, August 6, 2003 11:31:29 am by JeeKay Revert
@@ -7,9 +7,9 @@
 This is an impossible scenario with classic owner/group/others permissions. You can't have two groups that need two different permissions. With ACLs you can! 
  
 !!Requirements 
  
-The basics for using ACLs on ext2/3 partitions is
+The basics for using ACLs on ext2/3 partitions are
 * Having a patched kernel to allow it 
 * Having the ACL utilities 
 * Having a slightly modified version of fileutils. 
  
@@ -36,4 +36,12 @@
  cyan /# setfacl -m u:rgh:rwx tmp 
  setfacl: tmp: Operation not supported 
  
 So, make sure (acl) is in the options list. 
+  
+!!!ACL Basics  
+  
+An ACL for use with the command line looks like [gu]:<group|user>:perms.  
+So, to give group `techies' rwx access to /techies, you would type:  
+ setfacl -m g:techies:rwx /techies  
+  
+The -m just means you are modifying the ACL directly from the command line, as opposed to from stdin later. man setfacl reveals all!