[Mailman-Users] Trouble wit Permission denied on /var/lib/mailman/logs/error

Mark Sapiro mark at msapiro.net
Fri Nov 16 12:38:37 EST 2018


On 11/16/18 3:12 AM, Christian Zimmer wrote:

> 
> The apache log says
> 
> IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error':
> /srv/www/vhosts/lists.mydomain.com/cgi-bin/mailman/admin
> 
>  
> 
> Obviously i moved the scripts admin, listinfo, etc. to
> /srv/www/vhosts/lists.mydomain.com/cgi-bin/mailman/admin because i didn't
> manage to make them work with apache 2.4 in the /usr/lib/cgi-bin/mailman
> directory. The files there were served instead of executed. I have all this
> "Options ExecCGI" and "SetHandler cgi-script" in my .conf.


Did your Apache conf have

ScriptAlias /mailman/       /usr/lib/cgi-bin/


> Mailman is running as user list, group list.
...
> The files in /var/log/mailman (i.e. error) are all owned by root:list and
> have permissions rw-rw-r--


Is the file /srv/www/vhosts/lists.mydomain.com/cgi-bin/mailman/admin and
the other wrappers there too group 'list' and SETGID?

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list