[Mailman-Users] cgi-bin permissions problems

Jason Novotny novotny at aei.mpg.de
Mon Aug 21 22:56:14 CEST 2006


Hi,

   I installed latest mailman distribution following the instructions 
and did

./configure --with-cgi-gid=apache

However, after following the rest of the setup and trying to create a 
test mail list, I invoke localhost/mailman/create

and in my log file I see:

[Mon Aug 21 12:21:14 2006] [error] [client 132.239.132.169] 
(13)Permission den
ied: exec of '/usr/local/mailman/cgi-bin/create' failed


I do "ls -al" of my cgi-bin directory and I see:

[root at gridsphere cgi-bin]# ls -al
total 236
drwxrwsr-x   2 gridsphere mailman  4096 Aug 21 12:14 .
drwxrwsr-x  20 root       mailman  4096 Mar  9 14:05 ..
-rwxr-xr-x   1 gridsphere mailman 15646 Aug 21 12:14 admin
-rwxr-xr-x   1 gridsphere mailman 15650 Aug 21 12:14 admindb
-rwxr-xr-x   1 gridsphere mailman 15650 Aug 21 12:14 confirm
-rwxr-xr-x   1 gridsphere mailman 15650 Aug 21 12:14 create
-rwxr-xr-x   1 gridsphere mailman 15654 Aug 21 12:14 edithtml
-rwxr-xr-x   1 gridsphere mailman 15654 Aug 21 12:14 listinfo
-rwxr-xr-x   1 gridsphere mailman 15650 Aug 21 12:14 options
-rwxr-xr-x   1 gridsphere mailman 15650 Aug 21 12:14 private
-rwxr-xr-x   1 gridsphere mailman 15650 Aug 21 12:14 rmlist
-rwxr-xr-x   1 gridsphere mailman 15650 Aug 21 12:14 roster
-rwxr-xr-x   1 gridsphere mailman 15654 Aug 21 12:14 subscribe

Here's my entry in my Apache httpd.conf:

<VirtualHost lists.gridsphere.org:80>

  <Directory />
       Options Indexes FollowSymLinks MultiViews
       AllowOverride None
       Order allow,deny
       allow from all
  </Directory>

  ServerAdmin jnovotny at ucsd.edu
  DocumentRoot  /var/www/sites/lists.nbirn.net
  ServerName lists.gridsphere.org

  ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
  Alias   /pipermail/ "/usr/local/mailman/archives/public/"

  ScriptAlias /cgi-bin/ "/var/www/sites/lists.nbirn.net/cgi-bin/"

  ErrorLog /etc/httpd/logs/lists_error_log
  CustomLog /etc/httpd/logs/lists_access_log  combined

</VirtualHost>

The funny thing is that if I copy the "create" script from 
/usr/local/mailman/cgi-bin/ over to my other cgi-bin ScriptAlias 
/var/www/sites/lists.nbirn.net/cgi-bin/ it seems to be invoked, although 
I then get this error in my browser:


    Bug in Mailman version 2.1.8


      We're sorry, we hit a bug!

Please inform the webmaster for this site of this problem. Printing of 
traceback and other system information has been explicitly inhibited, 
but the webmaster can find this information in the Mailman error logs.

Any help is greatly appreciated!


   Thanks, Jason





More information about the Mailman-Users mailing list