Access Keys:
Skip to content (Access Key - 0)

Q: Why are the contents of my home directory visible on the web?

Answer

What happens is that if you view your locker (e.g., http://web.mit.edu/joeuser) in a web browser, the names of files and folders in your home directory are visible, but not their contents. This is because your home directory has list permissions for system:anyuser. (See How do permissions work in AFS? for more information). These permissions are required in order to serve your personal website in your www directory.

To avoid this, you can simply create an empty index.html file in the root of your home directory. This will cause the web server to display a "Permission Denied" error instead. Users will still be able to access your website with a URL such as http://web.mit.edu/joeuser/www/)

To create the empty file:

  1. Login to Athena.
  2. Enter the following command at your prompt:
    $ touch ~/index.html
    

See Also

IS&T Contributions

Documentation and information provided by IS&T staff members


Last Modified:

August 19, 2021

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
Labels:
olc-web-www olc-web-www Delete
locker locker Delete
contents contents Delete
home home Delete
directory directory Delete
athena athena Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
Feedback
This product/service is:
Easy to use
Average
Difficult to use

This article is:
Helpful
Inaccurate
Obsolete
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki