Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to give user access to a file or directory in AFS

📅 2013-Jan-28 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ acl, afs, setacl ⬩ 📚 Archive

A user can be given access to a file or directory in AFS by using the fs program. Using the setacl parameter of the program, the user can be given one or more of these permissions: r (read), w (write), l (list), k (lock), i (insert), d (delete) and a (change ACL).

For example, to give joe access to read, write and list contents of a directory Foo:

$ fs setacl Foo joe rwl

Tried with: OpenAFS 1.6.1-1


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧