[ic] suexec? target uid/gid mismatch with program

Doug Alcorn doug@lathi.net
24 Nov 2000 23:12:15 -0500

I've seen in the documenation and mailing list archives that using
suexec should be as easy as answering "y" to CGI-WRAP or SUEXEC during
makecat and insuring that cgi-bin/catalogname isn't setuid.  However,
I'm still a no go.  

What suexec complains about is "target uid/gid (508/508) mismatch with
directory (508/508) or program (510/510)".  What I get out of this is
that apache sets the target uid/gid based on the User and Group
settings in the VirtualHost block.  However, the catalog has to run
as a different user and group.  Apache's User and Group match the
uid/gid of the cgi-bin directory, but not the catalog's vlink.

What can I do?  Disabling suexec isn't really an option.
 (__)  Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
 oo /  Unix Hacker
 |_/   "It's too late for paradise" (at least in this life)