[Mailman-Users] email from Mailman (cron)l

Mark Sapiro msapiro at value.net
Sun Oct 30 17:26:06 CET 2005


antoine at starinux.org wrote:
>
>I receive this Email from (cron) Mailman :
>********************
>Cron <antoine at aw> /usr/bin/python -S /var/lib/mailman/cron/gate_news
> From : Cron Daemon <root at rezoperso.net>
> To : antoine at rezoperso.net
> Traceback (most recent call last):
>  File "/var/lib/mailman/cron/gate_news", line 284, in ?
>    main()
>  File "/var/lib/mailman/cron/gate_news", line 259, in main
>    lock.lock(timeout=0.5)
>  File "/usr/lib/mailman/Mailman/LockFile.py", line 243, in lock
>    self.__write()
>  File "/usr/lib/mailman/Mailman/LockFile.py", line 422, in __write
>    fp = open(self.__tmpfname, 'w')
>IOError: [Errno 13] Permission denied: '/var/lib/mailman/locks/gate_news.lock.aw.4567.0'

It means the gate_news cron doesn't have permission to create a lock
file.

It appears that the crontab belongs to you (antoine). It needs to be
installed as 'mailman' so it runs as group 'mailman'.

-- 
Mark Sapiro <msapiro at value.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