Mark Cave-Ayland wrote:

>However when I try and access the administration URL at
>http://server/mailman/admin then I get the following error in the Apache
>error log:
>
>[Tue Dec 20 14:23:00 2005] [error] [client 213.152.63.90] /usr/bin/python:
>can't open file '/home/mailman/domains/chuckie.co.uk/scripts/driver'
>[Tue Dec 20 14:23:00 2005] [error] [client 213.152.63.90] Premature end of
>script headers: admin
>
>What is strange is that I also get the same error if do this:
>
>su - apache
>cd ~/domains/chuckie.co.uk/cgi-bin
>admin
>
>But the following appears to work as expected, outputting a CGI error:
>
>su - apache
>/usr/bin/python /home/mailman/domains/chuckie.co.uk/scripts/driver

What happens if you do the above with "su - mailman" instead of apache.
At this point, the wrapper is invoking the driver as group mailman
because it is SETGID.

Are you sure SELinux is disabled?

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to