Sharing Files
If you want a few people to have access to some of your directories
(rather than nobody or everybody), there are a few ways to do it.
If there are only one or two users that you want to have access to
your directories, the best way to do it is to give them access
individually. You can do this by typing
fs sa directory username read username2 read ...
where 'directory' is the directory you want to be sharable and
'username' is the username of the person you want to have access.
This will let them list and read (as well as copy) any files in your
directory. Note, you can keep giving as many usernames and
permissions as you like in pairs after the directory name. If you'd
like them to be able to insert, change, and delete files as well, then
type:
fs sa directory username write username write ...
For more information about the "fs" command, see the stock answer
titled "Changing AFS PERMISSIONS", under the "UNIX" topic. You can
also type "fs help" at the athena% prompt for more information.
If there are more than a few users you want to share a directory with,
then the best way to do so would be to use a group created by Moira.
If you do not have an existing group which you want to use for this
purpose, you will need to create one. If you need help with this, see
the stock answer "How to create and edit MAILING LISTS and GROUPS".
In most cases, you can just add users to the already-existing group
with the command:
blanche group_name -add username
You can delete users by changing the '-add' to '-delete'. For a list
of people in your group, simply type 'blanche group_name'.
You can then give the group permission to your directory by typing:
fs sa directory system:group_name read
where 'group_name' is the name of the group that you want to share
with. If you want the group to be able to insert, write, and
delete from the directory as well, replace read with write. Note that
you can give users access to all your files by using your username
as the group name.
You can check to see who has permission to your directory by typing
fs la directory
For more information on fs, type 'fs help'. To get help with a
specific fs command, type 'fs help commandname'.