On Jan 13, 2008, at 2:26 AM, Ashoat Tevosyan wrote: > Hello all, > I am running Apache 2.2.6 with PHP 5 and suPHP in a cPanel > environment. > > I have the following issue. I want to run suPHP, but I want there to > be a single file that every single user can access. As it doesn’t > seem like there is a possible way to do this with the UID-checking > suPHP does (correct me if I am wrong), I am wondering if I could > disable the user-check and leave only the group-check. That way, > considering all the files the users own on their vhosts are under > the specific user’s group, only they would be able to access it. But > I could put the particular file I need everyone-access-privileges > under a group that includes all users. > > Is this possible? Are there any solutions to my issue? >
The version of mod_suphp in cPanel has several patches applied to it and functions a little differently than the pristine upstream version. Basically, what you'd need to do is disable both the UID and GID checks in suphp.conf, making mod_suphp behave as if it was compiled in force mode. The GID check compares the current GID against the GID of the script, so it would not pass that check if the user is a member of the group that owns the script but not configured to run as that GID via suPHP_UserGroup. J.D. Lightsey _______________________________________________ suPHP mailing list [email protected] http://lists.marsching.biz/mailman/listinfo/suphp
