[Mailman-Users] Cron jobs

Dragon dragon at crimson-dragon.com
Thu Jan 3 19:00:44 CET 2008

Melinda Gilmore wrote:
>I keep getting this message from some cron jobs run.  And I have looked at
>the permissions for the list it is referring to, but cannot seem to fix the
>problem. Can anyone point me in the right direction
>Your "cron" job on lists
>/usr/local/bin/python -S /usr/local/mailman/cron/senddigests
>produced the following output:
>Traceback (most recent call last):
>   File "/usr/local/mailman/cron/senddigests", line 94, in ?
>     main()
>   File "/usr/local/mailman/cron/senddigests", line 87, in main
>     mlist.Save()
>   File "/usr/local/mailman/Mailman/MailList.py", line 557, in Save
>     self.__save(dict)
>   File "/usr/local/mailman/Mailman/MailList.py", line 512, in __save
>     fp = open(fname_tmp, 'w')
>IOError: [Errno 13] Permission denied:
---------------- End original message. ---------------------

The user that mailman runs as (default = mailman) needs to have write 
permission to the directory shown in the last line of the trace back. 
Have you tried running bin/check_perms as root with the -f option? 
You may need to run it a few times to fix everything.

These are the permissions I get on my /usr/local/mailman/lists directory:

drwxrwsr-x  9 mailman mailman 4096 Aug  9 09:22 lists

And for a sample list directory:

drwxrwsr-x 3 mailman mailman 4096 Jan  3 09:00 cuisine

If you are running a default installation of mailman, your lists 
directories should have the same permissions.


  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)

More information about the Mailman-Users mailing list