]> scripts.mit.edu Git - www/raw.git/blob - faq/49.mdwn
Import from TextPattern
[www/raw.git] / faq / 49.mdwn
1 [[!meta title="Why does reading files cause 'permission denied' errors on scripts.mit.edu?"]]
2 If you get this error when ssh’d to scripts and trying to access
3 another locker, please make sure you’ve followed the
4 [directions to ssh to scripts](/faq/41/). If you are getting this
5 error when running scripts, or when accessing files under the
6 locker you’re logged in as, please continue reading.
7
8 On scripts.mit.edu, your scripts are served using special Athena
9 filesystem privileges associated with your account on
10 scripts.mit.edu. These privileges allow your scripts.mit.edu
11 account to access any file that is **both** 1) inside your AFS
12 locker and 2) accessible by “daemon.scripts” (a special set of AFS
13 credentials owned by the script server).
14
15 The signup process takes care of setting up your web\_scripts
16 directory so that daemon.scripts has access to your web\_scripts
17 directory and its subdirectories. To give daemon.scripts read
18 access to other parts of your home directory, you can do, for
19 example:
20
21     athena% add consult
22     athena% fsr sa ~/my-scripts-data/ daemon.scripts read
23
24 Certain kinds of “non-executable content” (for example, images)
25 underneath your web\_scripts directory are also served to the web
26 using your scripts.mit.edu credentials. Here is
27 [the complete list](/faq/50) of the file extensions served directly
28 to the web using your scripts.mit.edu account.
29
30
31