Anyone knows how to use safe mode in conjunction with a common default session data dir.
Let's suppose:
safe mode is on
session dir is set to /tmp/sessions
users are on different groups (means I can't relax safe mode just to check guid instead of uid)
In the above scenario every time I use sessions it says it can't use the dir /tmp/sessions since it's owned by different uid than the user.
Is there any directive that allows me to bypass safe mode for a particular dir, in this case /tmp/sessions?
I need something that doesn't require each user to change the code so I can't tell users to call session_save_path function.
I can change session dir to ./tmp but this will require a tmp dir above any php file that uses sessions.
I can change session dir to ./ but this will clutter user dirs with session data.
If only session dir allowed for ~/tmp I could tell each user to create a ~tmp dir.
Any ideias?