Access Control Lists
As of Digital Unix version 4.0, access control lists are available, and Alcor users may take advantage of this facility. Access control lists are an additional method to control which users may read, write, or execute your files. The setacl manpage shows how to set an ACL for a file or directory, while the getacl manpage shows how to view this ACL.
Here's a crash course by example, though. Let's say I (anne) have a file "secretfile" which I wish to make available to Steven (smw) only, and I wish him to be able to read and execute but not write my file. First, using the regular Unix file permissions, I remove all privileges for group and world:
Viewing the file's attributes with "getacl" reveals:
Now, using "setacl" with the "update" (-u) parameter, I give the user Steven (smw) permission to read (r) and execute (x), but not (-) to write, my file secretfile:
And I check the results with "getacl"
As you can see, now user "smw" may read and execute my file!
One warning: access control lists are quite new, and cannot yet be backed up. Therefore, if we ever have to restore your files from backup, the ACLs on them will be lost.
|
Copyright, © 2003,
Concordia University,
(IITS).
|
|
|