Re: [Mailman-Users] config.pck, apache, permissions and Errno 13 SOLVED
> % ls -l /usr/lib/mailman/cgi-bin/ > total 264 > -rwxr-sr-x 1 root mailman 18345 Mar 7 2005 admin > -rwxr-sr-x 1 root mailman 18349 Mar 7 2005 admindb > -rwxr-sr-x 1 root mailman 18349 Mar 7 2005 confirm > -rwxr-sr-x 1 root mailman 18349 Mar 7 2005 create > -rwxr-sr-x 1 root mailman 18353 Mar 7 2005 edithtml > -rwxr-sr-x 1 root mailman 18353 Mar 7 2005 listinfo > -rwxr-sr-x 1 root mailman 18349 Mar 7 2005 options > -rwxr-sr-x 1 root mailman 18349 Mar 7 2005 private > -rwxr-sr-x 1 root mailman 18349 Mar 7 2005 rmlist > -rwxr-sr-x 1 root mailman 18349 Mar 7 2005 roster > -rwxr-sr-x 1 root mailman 18353 Mar 7 2005 subscribe thanks! that did it. the permissions were wrong, and they weren't being corrected by check_perms -f for me it was: /var/lib/mailman/cgi-bin/ which is: /var/lib/mailman/cgi-bin -> /usr/lib/cgi-bin/mailman anyway. it works now :)) thank you for your patience. cheers. aron -- Mailman-Users mailing list Mailman-Users@python.org 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&file=faq01.027.htp
Re: [Mailman-Users] config.pck, apache, permissions and Errno 13
On Wednesday 14 September 2005 19:29, you wrote: > On Wed, 2005-09-14 at 18:45 +0200, Sam Gamgee wrote: > > yes I have run check_perms several times. > > I often get wrong group errors such as: > > > > /var/lib/mailman/logs/qrunner bad group (has: list, expected mailman) > > /var/lib/mailman/logs/smtp bad group (has: list, expected mailman) > > > > I don't know what keep causing these, but so far they don't seem to have > > any negative effects. > > If check_perms is reporting problems you've got problems you need to > fix. By default check_perms only reports problems, it does not fix them, > to fix them you need to supply the -f argument. yes yes yes. I know that. but the results are not permanent. My problem is trying to find out why. > If your cgi wrappers are not group mailman then its setgid property is > not going to work the way you expect. For instance if its group "list" > then its going to execute as group "list" and the fact the files it > references are -rw-rw mailman:mailman won't help because they are > not in the group "list". Make sense? which file permissions are wrong? which ones do I have to change? check_perms -f changes get undone constantly and I don't know by what. if check_perms reports some "group list and not mailman" stuff I don't experience any problems and nothing changes when I fix them. When my web-interface doesn't work i.e. ls -l /var/lib/mailman/lists/listname/ total 24 -rw-rw1 mailman mailman 4284 Sep 14 12:00 config.pck then it will not work regardless of what check_perms says or does. all I know is: if I chown -R www-data /var/lib/mailman/lists then it works again. *help* -- Mailman-Users mailing list Mailman-Users@python.org 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&file=faq01.027.htp
Re: [Mailman-Users] config.pck, apache, permissions and Errno 13
On Wednesday 14 September 2005 08:15, Sythos wrote: > On Wed, Sep 14, 2005 at 04:11:22AM +0200, Sam Gamgee wrote: > > -I installed mailman on a debian server with postfix. > > > >From debian mailman package or from source? I'm sorry I was mistaken earlier. It's a ubuntu server and not debian. I installed the mailman package first. Here however I received: Command output: Group mismatch error. Mailman expected the mail wrapper script to be executed as group "daemon", but the system's mail server executed the mail script as group "mailman". Try tweaking the mail server to run the script as group "daemon", or re-run configure, providing the command line option `--with-mail-gid=mailman'. I then installed from source with the "--with-mail-gid=mailman" option. Thats the situation I'm in now -> I can mail, but I can't use the web interface properly. aron -- Mailman-Users mailing list Mailman-Users@python.org 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&file=faq01.027.htp
[Mailman-Users] config.pck, apache, permissions and Errno 13
hello everyone, I am writing this e-mail as a sort of last resort. Believe me I've tried hard, but can't find a solution to the following problem. -I installed mailman on a debian server with postfix. -all mailing lists work. -webinterface works. now, whenever the cronscripts run, or somebody sends a mail over one of the lists, the permissions of some file (usually something like: "/var/lib/mailman/lists/listname/config.pck") will change from www:mailman to mailman:mailman. after this happens, I can no longer access the web-interface. The result: Bug in Mailman version 2.1.5 We're sorry, we hit a bug! If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks! Traceback: Traceback (most recent call last): File "/var/lib/mailman/scripts/driver", line 87, in run_main main() File "/var/lib/mailman/Mailman/Cgi/listinfo.py", line 47, in main mlist = MailList.MailList(listname, lock=0) File "/var/lib/mailman/Mailman/MailList.py", line 128, in __init__ self.Load() File "/var/lib/mailman/Mailman/MailList.py", line 593, in Load dict, e = self.__load(file) File "/var/lib/mailman/Mailman/MailList.py", line 559, in __load fp = open(dbfile) IOError: [Errno 13] Permission denied: '/var/lib/mailman/lists/listname/config.pck' I tried many things including: I have tried forcing the permissions by doing a chmod u+s. that didn't work >ls -l >drwsrwsr-x6 www-data mailman 4096 Sep 9 01:11 listname I tried to change MAILMAN_USER = 'www-data' in /usr/lib/mailman/Mailman/mm_cfg.py but this resulted in a Mailman mail-wrapper: Group mismatch error. I was then thorougly confused by suexec stuff http://www.python.org/cgi-bin/faqw-mm.py?req=recent&days=365250 -see "6.17. Apache+Suexec" one the one hand, this suggests I should run everything as mailman:mailman and on the other hand I am warned strongly against this in the mailman installation docs. not to mention that the apache docs concerning suexec are daunting. well as apache doc are ;-) and DON'T tell me to run check_perms! *grin* so now here is my question: can anybody help me? thank you aron -- Mailman-Users mailing list Mailman-Users@python.org 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&file=faq01.027.htp