|
Okay this might shed some light on the problem:
here is the output of test.php
uid=498(apache) gid=500(apache) groups=500(apache)
as you can see the "groups" only shows apache, so the suexec daemon is only picking up the primary group
now lets look at the output of command line:
$ id apache
uid=498(apache) gid=500(apache) groups=500(apache),505(secure)
so here is the problem, suexec daemon needs to pick up all groups it belongs to for secure access group to work correctly
|