Q: Who has permission to change files in a locker or website?
Answer
![]() | Note about websites This information only applies to websites hosted out of lockers in AFS. That is, the URL for your site must begin with "http://web.mit.edu.ezproxyberklee.flo.org" or "http://mit.edu.ezproxyberklee.flo.org". |
First, you will need to know the name of your locker. For your personal website, this is your username. For other websites, it will be the first component of the URL after either "mit.edu" or "web.mit.edu". For example:
URL | Locker Name |
---|---|
http://web.mit.edu.ezproxyberklee.flo.org/examplelab/www | examplelab |
http://mit.edu.ezproxyberklee.flo.org/joeuser/projects/teleportation/ | joeuser |
http://web.mit.edu.ezproxyberklee.flo.org/phrenology/research/current.html | phrenology |
Once you have the locker name, you can examine the permissions with the fs command:
joeuser@athena:~$ fs la /mit/lockername
Access list for /mit/hlockername is Normal rights: system:mylabgroup rlidwka system:expunge ld system:anyuser rl jruser rlidwka joeuser rlidwk
Note: Be sure to fill in the correct information for lockername.
In the example above, the moira list mylabgroup has full permissions, as does the user jruser. The user joeuser only has permission to edit files.
For more information on interpreting AFS permissions, please see How do permissions work in AFS?