Each directory in AFS has an ACL (Access Control List).
The ACL of a directory applies to all files in that directory. For example, If the ACL allows read access to a user, then all readable files (according to the Unix owner permission bits) in the directory will be readable by that user. The same applies to write and execute permissions (note: in order to execute a file (run the program), you must also be able to read the file). It is impossible to have two files in a given directory with different ACLs.
Access can be specified for individual users or AFS groups.
Use the fs listacl command:
Use the fs settacl command:
For example:
See Also:
The following permissions (rights) can be specified in AFS ACLs:
Permission | Attribute | Description |
---|---|---|
r | read | allows a user to look at readable files in the directory |
l | lookup | a user with this right may list a directory, look at an ACL or access subdirectories. |
w | write | allows a user to modify writable files in the directory |
d | delete | allows a user to remove files from a directory |
i | insert | allows a user to add files to a directory |
k | lock | allows a user to put advisory file locks on a file in the directory |
a | administer | allows a user to change the ACLs on the directory. If a user has administer access to a directory, that user may change the ACLs of that directory and any directories within that directory. For that reason, we do not suggest granting this access to anyone for your personal directories. |
Aggregate Permission | Description |
---|---|
read | read (r) and lookup (l) permissions |
write | read (r), lookup (l), insert (i), write (w), delete (d) and lock (k) permissions |
all | grant all permissions (rliwdka), including administate |
none | remove all permissions for the specified user or group |
AFS allows users to create and manage their own groups of users. AFS groups can be named in ACLs (Access Control Lists), which is convenient, because you do not need to change every ACL when someone joins or leaves a logical group of users.
AFS groups that are owned by users are named username:groupname.
The AFS system defines the following system groups:
Use the following pts commands:
For example:
don't know
Use the following pts commands:
For example:
don't know
See Also:
put stuff here about giving others permissions to modify groups