directory rights

Q2:
How do I share a directory with my partner?

A:
Create a new directory somewhere under your private directory and use the fs setacl command to give your partner access to it.

    cd
    cd private
    mkdir project2
    fs setacl project2 partnername write
    fs listacl project2
    cp ~cs537/public/project2/*.java project2
    cp ~cs537/public/project2/*.graph project2
    cd project2
    start working
The TLA (three-letter acronym) ACL stands for "access control list". We will learn more about ACL's towards the end of the semester. The fs setacl command gives your partner read/write access to the new directory. The fs listacl command shows the current ACL. You should see something like this

  Access list for project2 is
  Normal rights:
    system:administrators rlidwka
    yourname rlidwka
    partnername rlidwk
You should not see any lines containing system:anyuser or system:authuser. If you do see such lines, do this

    cd private
    fs setacl dirname system:authuser none
    fs setacl dirname system:anyuser none

Jonathan Ledlie
Last modified: Tue Oct 12 18:44:02 CDT 1999