Hi,
I am running Linux RH 6.2, Apache and PHP (both as an Apache module and a CGI for SuExec).
I use Apache's SuExec with an "admin" user to safely execute linux commands thru' a browser.
This works nice. However, I have run into a problem when using session variables. Under a normal php script (running as nobody) the session is created and stored under /tmp/sess_<session_id>. But when I need to run a cgi-script as user admin (SuExec), I am getting a permisson error - clearly because the file in /tmp is 600 and owned by nobody.nobody.
Can anyone suggest a solutions - I was wondering if it were possible to specify that the session file created in /tmp could be created with different ownership or permissions. However, I don't want to make my admin user a member of nobody.
Thanks,
Chris