Forum Moderators: phranque
I'm trying to get a config file on one of my sites to have read only permissions (which would be 400). But each time I change it to 400 the log says...
> SITE chmod 400 /htdocs/config.php
< 200 Permissions changed on /htdocs/config.php
> CWD /htdocs
< 250 OK. Current directory is /htdocs
which suggests the perms have been changed. But when I look at the config file again its back to 600 (owner read/write).
My question is: is it possible to have read-only perms, or does it not work for a good reason? If it is possible, might it be my ISP being crap?
Thanks :)
My guess is its my host being really restrictive (somehow, for some reason), as this isn't the first time problems like this have come up. I'd move to a different host but these guys are a) cheap, and b) have way too many of my sites, making moving a nightmare!
Thanks all the same :)