File system permission
Posted by: jcairns
Posted on: 2006-04-03 04:04:00
I have swt.dreamhosters.com mirroring steelwhitetable.org. The 2nd domain is currently hosted by someone else; I'm moving it to DreamHost, so I've been using http://www.swt.dreamhosters.com/ as the beta of it until I'm ready to go live on their servers.
The problem: I've getting 403 Forbidden on http://www.swt.dreamhosters.com/ now (I wasn't earlier today). I was looking at the file permission in my account to ensure it was secure, and I think I messed the permissions up; HOWEVER, I was following the directions in the wiki:
http://wiki.dreamhost.com/index.php/Unix_File_Permissions_Cookbook.
$ cd ~
$ chmod 711 .
$ chmod -R u+w,a+rX example.com
I did the above, replacing example.com with steelwhitetable.org
I think the 403 started after that.
I tried:
chmod -R 755 steelwhitetable.org
and that didn't work. Nor did 700, 711, or even 777.
I'm using this to test it:
http://www.swt.dreamhosters.com/robots.txt
QUESTIONS:
- How to fix the above?
- What should be the default permissions of your home directory, NOT including your domain directories?
- What should be the permissions of your domain directories under your home directory?
I created a support ticket about it, too.
Thanks