When PHP creates a file (even when apache is running in suexec mode) it still creates the file as the user apache. Obviously this generates 2 problems:
1. No way to keep track of the users quota as it isn't owned by the user, it's owned by apache
2. No way to manipulate the file (move, rename etc) in the PHP script as it is running as the user.
I looked into implementing http://www.faqts.com/knowledge_base/view.phtml/aid/16339/fid/31
But it doesn't seem to work, either that or I didn't configure it correctly.
I am running PHP in safe mode obviously for security reasons and am running Apache 2.
Anyone know of a way to get PHP to create files and directories as the suexec user/group? I'm dying for an answer.
Thanks,
--Josh
1. No way to keep track of the users quota as it isn't owned by the user, it's owned by apache
2. No way to manipulate the file (move, rename etc) in the PHP script as it is running as the user.
I looked into implementing http://www.faqts.com/knowledge_base/view.phtml/aid/16339/fid/31
But it doesn't seem to work, either that or I didn't configure it correctly.
I am running PHP in safe mode obviously for security reasons and am running Apache 2.
Anyone know of a way to get PHP to create files and directories as the suexec user/group? I'm dying for an answer.
Thanks,
--Josh