Hi,
Folder/File Permission problem.
I’m setting up MODx in a host that is new to me.
www.heartinternet.co.uk (HI)
I’ve created a subfolder public-html/modx.
And installed by copying all the files up (rather than the raw installation process) from my Windows WAMP setup where I developed the site. I’ve previously copied the site onto my Webfaction account without problems.
However, on HI nothing worked. Due to File Permission errors.
I discovered that the host won’t allow sites to work unless folder/file permissions are 711 or 755 and 644 for PHP is advised. These permissions are from the Host(heartinternet.co. uk) and are not MODx specific. So is 711 or 755 appropriate and 644 for PHP?
On this forum post -
http://modxcms.com/forums/index.php/topic,32234.0.html there is a suggestion that cache folders and others need 775 or 777. Bizarrely using the HI File Manager 775 cannot be set... Presumably it can via SSH but I’ve discovered it takes 3 days to setup SSH (this appears to be a very security conscious host - good in a way but a pain just now). In their help "We do not allow scripts to run under 777 for reasons of security. Executable scripts should run under 711 or 755" So perhaps if the folders don’t contain PHP I’ll be okay but assets/cache does so... gulp.
Raising a ticket with them just now to explore all this.
Don’t suggest change hosts ;-) - I picked them and persuaded a client to change.
Cheers