Posts Tagged ‘PHP’

Specifying allowable permissions of files and folders

February 26th, 2010

If you have setup suPHP/phpsuexec and it currently has accounts on it you will want to run the following:

In root you will run:
/scripts/postsuexecinstall
/scripts/chownpublichtmls

And from under your /home directory (or the directory you’ve specified for accounts)
find -perm 777 -exec chmod 755 {} \; -print
find -perm 666 -exec chmod 644 {} \; -print
/scripts/fixsuexeccgiscripts