[Mailman-Users] webserver integration problem with ownership

Jon Carnes jonc at nc.rr.com
Wed Mar 17 04:05:02 CET 2004


On Tue, 2004-03-16 at 03:01, jdeveloper at mosesgroup.de wrote:
> Hi there,
>  i setup a mailman-site and it seems to run quite smoothly.
> BUT: the integration with my webserver seems to be faulty.
> whenever i use the administrative web frontend, the owner
> of the list *.pck files is changed to the user 'apache' (the one
> my web server runs with). this leads to the cron-job gate_news
> failing and complaining :
> 
> Traceback (most recent call last):
>   File "/usr/local/mailman/cron/gate_news", line 284, in ?
>     main()
>   File "/usr/local/mailman/cron/gate_news", line 264, in main
>     process_lists(lock)
>   File "/usr/local/mailman/cron/gate_news", line 199, in process_lists
>     mlist = MailList.MailList(listname, lock=0)
>   File "/usr/local/mailman/Mailman/MailList.py", line 128, in __init__
>     self.Load()
>   File "/usr/local/mailman/Mailman/MailList.py", line 594, in Load
>     dict, e = self.__load(file)
>   File "/usr/local/mailman/Mailman/MailList.py", line 560, in __load
>     fp = open(dbfile)
> IOError: [Errno 13] Permission denied: '/usr/local/mailman/lists/mailman/config.pck'
> 
> and so i end up receiving a huge number of errors until i reset the owner-ship !
> i tried using check_perms to fix this but check_perms indicates no problem at all.
> 
> Any help ?? Thanks in advance!
> _______________________________________________________________________


What is the Group ownership for the file?  Is the suGID bit set for the
directory:

drwxrwsr-x    2 root     mailman      4096 Mar 16 12:00 .
drwxrwsr-x    6 root     mailman      4096 Dec 22 23:52 ..
-rw-rw----    1 mailman  mailman      3389 Mar 16 09:00 config.pck.last

Good Luck - Jon Carnes





More information about the Mailman-Users mailing list