[BlueOnyx:10651] Re: php session 5107R
Michael Stauber
mstauber at blueonyx.it
Tue May 22 19:31:50 -05 2012
Hi Steffan,
> Just had a client that told me session didnt work (suPHP)
> I noticed the settings of the session dir
> /var/lib/php/session
>
> drwxrwx--- 2 root apache 241664 May 21 12:39 session
>
> on a 5106 this was
> drwxrwxrwx 2 root apache 266240 May 21 12:45 sessio
>
> so did a chmod 777
> any reason why the setting wasn't 777 on default ?
By OS defaults that directory to 770 has permissions. And it reverts back to
that every time the SO supplied "php" RPMs are updated.
However, there is a mechanism in place in BlueOnyx that sets it back to 777
upon CCEd restart or after automated YUM updates that were scheduled through
the GUI.
We need the 777 permissions on that directory so that suPHP enabled Vsites can
store their session data in it.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list