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

Mike Heins mikeh@minivend.com
Fri, 24 Nov 2000 23:37:12 -0500


Quoting Doug Alcorn (doug@lathi.net):
> 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.

Sorry, not much except set SocketPerms to 0666 or 0660, whichever
will work. This is an Apache configuration issue -- if the permissions
are OK, Interchange will work.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Clothes make the man.  Naked people have little or no influence on
society.  -- Mark Twain