Common AFS Space
The common AFS space can be found at
/afs/cern.ch/eng/clic/
Access rights are grantet by
PeterSpeckmayer. There is a total space of 280Gb available at the moment.
The directories
work and
work2 are intended as short term storage areas. Especially larger files (i.e. simulations of large event numbers) should be moved to castor instead.
Access rights (protection groups) on the groups AFS directory
The group ID of the LCD group
@CERN
is: ZF
There are three protection groups for the ZF group:
- zf:acladmins - contains the usernames of the persons with rights to manipulate the following two protection groups
- zf:afsrestricted - Some directories (software, data) are write protected. Only persons in the group zf:afsrestricted do have write access there.
- zf:afsaccess - Persons in this list have read access to all afs directories of the group and write access to some of them (work, work2)
- system:anyuser - Some directories are world readable. The system:anyuser is modified automatically.
- cern:zf - all persons with an account in the LCD group at CERN
AFS, commands
A user guide for the AFS filesystem
@CERN
can be found here:
AFS @CERN

and
AFS user guide
Important commands for adding/removing users, inspecting the membership and creating new protection groups (if needed):
- list membership of the group zf:afsaccess:
> pts membership -name zf:afsaccess
- add a user to the protection group:
> pts adduser -user -group zf:afsaccess
(removeuser
to remove a user from the group)
Handling the access rights for directories on AFS:
- show the access rights for the directory work:
> fs listacl work
- change the access rights for the directory software:
> fs setacl -dir software -acl zf:afsaccess read
(the access rights listed in AFS access rights
can be set)
- remove access rights of a protection group (acl) or a user of the directory software:
> fs setacl -dir software -acl zf:afsaccess none
How to set access rights for subdirectories (recursivly):
AFS walking through subdirs and setting rights
- make subdirectories of directory software world readable:
cd software; afind . -t d -e "fs setacl {} system:anyuser rl"
- make subdirectories of directory software readable for the group zf:afsaccess:
cd software; afind . -t d -e "fs setacl {} zf:afsaccess read"
For the admins of the AFS space:
-
afs_admin set_acl
adds admins for the clic project
-
afs_admin set_acl data all
adds all rights for the given accounts for the directory data
-
afs_admin set_acl -r data zf:afsrestricted all
adds all rights for the acl zf:afsrestricted for the directory data and all its subdirectories
--
PeterSpeckmayer - 10-Aug-2010
Topic revision: r7 - 2010-08-10
- unknown