[Mailman-Users] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI

Bob Perez BPerez at novell.com
Mon Jun 25 16:53:39 CEST 2012


Mark,
 
What does "ls -ld /var/lib/mailman/archives/private" show?
  Answer: "drwxr-x--- 6  root mailman 160 June 22 13:50 /var/lib/mailman/archives/private" 

What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
correct path to the create wrapper) show?
  Answer:  I have no directory called "create" in the /var/lib/mailman/ directory structure
 
Thanks,
Bob Perez

>>> 


From: Mark Sapiro <mark at msapiro.net>
To:Bob Perez <BPerez at novell.com>
CC:<mailman-users at python.org>
Date: 6/24/2012 7:37 AM
Subject: Re: [Mailman-Users] Error on attempt to create a List in Mailman 2.1.7-15.12.1 from Mailman Web admin UI
On 6/23/2012 12:33 PM, Bob Perez wrote:
>  
> I see the error in the log with the list name I try to create ("list1", etc) 
>   admin(10317): OSError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/list1.mbox'
>  
> So looks like a permission problem. I ran ./check_perms and then check_db - Did not help.


What does "ls -ld /var/lib/mailman/archives/private" show?

What does "ls -l /usr/lib/mailman/cgi-bin/create" (assuming that's the
correct path to the create wrapper) show?


> I think if I do a chmod 755 -R /usr/lib/mailman/ , I may break something in mailman.  Did not do this.


Good.


> I see that the user "mailman" in the "mailman group is the owner of the mailman files and directories, but after running the ./check_perms now "root" is the owner of the "mailman" group, however he is not a part of the group, so I made him a member - Same problem, even after restaring mailman with ./mailmanctl restart 


In general, the 'owner' of mailman's files doesn't matter. Everything is
controlled by group permissions. All the qrunners run as group
"mailman". The web CGI wrappers are supposed to be SETGID and group
"mailman" so they run with effective group "mailman".

-- 
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