N
net24
Guest
Running Plesk 8.1.0 on FreeBSD 6.2.
Have configured php to run under Plesk suexec fcgid mode.
Almost everything works - yaay!
Only problem is that when the move_uploaded file function is used (a LOT of php scripts use this) permissions on the uploaded file are set to Unix 600. The php copy function seems to work.
I wondered if this was a php version issue (5.2.0) but recently I installed Ruby on rails under plesk and lo and behold I've found the same issue. :-(
This issue is repeatable regardless of default umask permissions, directory permissions or changing umask within the fcgid wrapper scripts.
So...anyone out there know why Plesk's suexec seems to be forcing scripts to create files with 600 permissions?
Better yet, anyone know how to get around this?
If the standard Apache suexec was being used I could set it in the configure script but there is no such customisation for Plesk's suexec. :-(
I'm not to keen too change the default umask that Apache runs under as I suspect that this will not work due to the customised suexec (which I suspect sets a umask all of it's own for the apps it runs).
Any other ideas? Anyone from Plesk whoc give me further info?
(I'm going to raise a job about this shortly but thought I'd ask the community first).
Have configured php to run under Plesk suexec fcgid mode.
Almost everything works - yaay!
Only problem is that when the move_uploaded file function is used (a LOT of php scripts use this) permissions on the uploaded file are set to Unix 600. The php copy function seems to work.
I wondered if this was a php version issue (5.2.0) but recently I installed Ruby on rails under plesk and lo and behold I've found the same issue. :-(
This issue is repeatable regardless of default umask permissions, directory permissions or changing umask within the fcgid wrapper scripts.
So...anyone out there know why Plesk's suexec seems to be forcing scripts to create files with 600 permissions?
Better yet, anyone know how to get around this?
If the standard Apache suexec was being used I could set it in the configure script but there is no such customisation for Plesk's suexec. :-(
I'm not to keen too change the default umask that Apache runs under as I suspect that this will not work due to the customised suexec (which I suspect sets a umask all of it's own for the apps it runs).
Any other ideas? Anyone from Plesk whoc give me further info?
(I'm going to raise a job about this shortly but thought I'd ask the community first).