This document is designed as a self-test on AFS. After reading through the training modules on AFS, you should be able to answer these questions. If the questions don't make sense, or you don't understand the answer, talk to your supervisor or a fellow consultant.
  1. Display the ACL for the directory /mit/joeuser
    (answer)

    Answer:
    "fs la /mit/joeuser"
    or
    "cd /mit/joeuser; fs la"

  2. Give janeuser access to read files (but not write them) in /mit/joeuser
    (answer)

    Answer:
    "fs sa /mit/joeuser janeuser rl"
    or
    "fs sa /mit/joeuser janeuser read"

  3. Give the moira group 'students' access to edit files in joeuser's home directory
    (answer)

    Answer:
    "fs sa /mit/joeuser system:students rlidwka"
    or
    "fs sa /mit/joeuser system:students write"

  4. Is it possible to have two files in the same directory in AFS have different access controls?
    (answer)

    Answer:
    No. AFS ACLs operate on a per-directory basis. It is possible to have two files in the same directory and, for example, remove the UNIX "write" bit from one, but anyone with AFS permissions could restore the access.

  5. How could you make it so your backup files are accessible via the directory "MyBackup"?
    (answer)

    Answer:
    "fs mkm /mit/username/MyBackup user.username.backup" You don't need to "fs rmm" the old mountpoint, but it also doesn't hurt.