Mathew
22nd October 2009, 03:08
With SuEXEC turned on, and PHP5 module set to Mod-PHP, I have something strange.
My php/flash photogallery makes new folders with permissions www-data while it should be web18:client7 (website user/group)
drwxrwxrwx 2 www-data www-data 4096 2009-10-22 02:00 FolderWithWrongPerms
Where do I have to fix this? I tried different permission settings, but hmm, I'm a bit confused.
Further, I tested this setting (SuEXEC & Mod-PHP) with a php-shell. Is it possible to disable reading config.php files trough php-shells?
It's pretty much secured (can't execute commands, can't "escape" out the website folder, ...) but I can still read those config files trough it.
Thanks in advance,
keep up the good work.
My php/flash photogallery makes new folders with permissions www-data while it should be web18:client7 (website user/group)
drwxrwxrwx 2 www-data www-data 4096 2009-10-22 02:00 FolderWithWrongPerms
Where do I have to fix this? I tried different permission settings, but hmm, I'm a bit confused.
Further, I tested this setting (SuEXEC & Mod-PHP) with a php-shell. Is it possible to disable reading config.php files trough php-shells?
It's pretty much secured (can't execute commands, can't "escape" out the website folder, ...) but I can still read those config files trough it.
Thanks in advance,
keep up the good work.