2011-04-19, 18:30:12
I would say that it depends on how your hosting service sets up the account and they should know what permissions are required for the webserver to read and write files. As far as I know, only the webserver needs to read or write any of the GetSimple files and folders. There should never be a need for permissions of 0777 if the ownership is set correctly.
What is the owner of the files after you transfer them (by ftp?)? What user is apache/php running as? If you chown the files to the webserver user you won't need open permissions.
For example, with my hosting service (ovh.com) php and ftp each run as the same user, so recommended permissions are 0705 (folder) and 0644 (files). (Indeed, higher permissions than 0755 are forbidden and will result in a server error.)
On my own test server, running Debian, provided that all the files are chowned www-data:www-data, the 0755 (folder) and 0644 (file) works fine: tighter permissions would also work, but I haven't experimented.
What is the owner of the files after you transfer them (by ftp?)? What user is apache/php running as? If you chown the files to the webserver user you won't need open permissions.
For example, with my hosting service (ovh.com) php and ftp each run as the same user, so recommended permissions are 0705 (folder) and 0644 (files). (Indeed, higher permissions than 0755 are forbidden and will result in a server error.)
On my own test server, running Debian, provided that all the files are chowned www-data:www-data, the 0755 (folder) and 0644 (file) works fine: tighter permissions would also work, but I haven't experimented.
--
Nick.
Nick.