Why does reading files cause 'permission denied' errors on scripts.mit.edu?
If you get this error when ssh’d to scripts and trying to access another locker, please make sure you’ve followed the directions to ssh to scripts. If you are getting this error when running scripts, or when accessing files under the locker you’re logged in as, please continue reading.
On scripts.mit.edu, your scripts are served using special Athena filesystem privileges associated with your account on scripts.mit.edu. These privileges allow your scripts.mit.edu account to access any file that is both 1) inside your AFS locker and 2) accessible by “daemon.scripts” (a special set of AFS credentials owned by the script server). The signup process takes care of setting up your web_scripts directory so that daemon.scripts has access to your web_scripts directory and its subdirectories.
Certain kinds of “non-executable content” (for example, images) underneath your web_scripts directory are also served to the web using your scripts.mit.edu credentials. Here is the complete list of the file extensions served directly to the web using your scripts.mit.edu account.
The .htaccess file needs to be marked as readable by the Apache web server in order to work, since it is accessed by Apache directly rather than by your account.

| Previous: | How do I make a file accessible to Apache? |
| Next: | What file extensions are served directly to the web using my scripts.mit.edu account? |
These pages may be reused under either the GFDL 1.2 or CC-BY-SA 3.0.
Questions? Contact scripts@mit.edu.
You are currently connected to better-mousetrap.mit.edu.
