Kuma11
10-8-05, 01:25 PM
What should the CHMOD settings be for a 'standard' html only web site? I thought I understood CHMOD, but it's got me confused. I'm on ftp02 (cluster 02), use WS-FTP, and, from htdocs' down everything is currently set to:
Owner: R W X
Group: R - X
Other: R - X
(occassionally when I log-on I find it's 'changed' itself, to 'new' random settings (???):
If I go into a sub-directory, any sub-directory, and do a CHMOD then whatever I change takes effect on EVERY directory, including htdocs! This seems strange. So, how should I set htdocs, then how can I change a sub-directory to a different setting without it effecting every other directory?
I also noticed when it's set it to:
Owner: R W X
Group: R
Other: R
My web site stops functioning with a 404 error... :confused: Why?
ON EDIT: I just initiated an FTP session and the CHMOD settings have changed all by themselves to:
Owner: R W X
Group: R
Other: R
When I tried to access my site from a brower I get:
Sorry, this site is temporarily unavailable
403 Forbidden by Web Configuration
The changes to CHMOD occured by themselves. I wasn't logged in!
Any idea WHY this is happening?
Owner: R W X
Group: R - X
Other: R - X
(occassionally when I log-on I find it's 'changed' itself, to 'new' random settings (???):
If I go into a sub-directory, any sub-directory, and do a CHMOD then whatever I change takes effect on EVERY directory, including htdocs! This seems strange. So, how should I set htdocs, then how can I change a sub-directory to a different setting without it effecting every other directory?
I also noticed when it's set it to:
Owner: R W X
Group: R
Other: R
My web site stops functioning with a 404 error... :confused: Why?
ON EDIT: I just initiated an FTP session and the CHMOD settings have changed all by themselves to:
Owner: R W X
Group: R
Other: R
When I tried to access my site from a brower I get:
Sorry, this site is temporarily unavailable
403 Forbidden by Web Configuration
The changes to CHMOD occured by themselves. I wasn't logged in!
Any idea WHY this is happening?