[Mailman-Users] Cron errors
msapiro at value.net
Tue Feb 13 17:51:32 CET 2007
Bill Bedford wrote:
>I'm getting a number of errors from cron scripts similar to this:-
> File "/Users/mailman/cron/nightly_gzip", line 154, in ?
> File "/Users/mailman/cron/nightly_gzip", line 110, in main
> mlist = MailList.MailList(name, lock=0)
> File "/Users/mailman/Mailman/MailList.py", line 130, in __init__
> File "/Users/mailman/Mailman/MailList.py", line 629, in Load
> dict, e = self.__load(file)
> File "/Users/mailman/Mailman/MailList.py", line 595, in __load
> fp = open(dbfile)
>IOError: [Errno 13] Permission denied:
>ls on /Users/mailman/lists/e4um gives
>-rw-rw---- 1 www mailman 46931 Feb 13 01:45 config.pck
>-rw-rw---- 1 mailman mailman 46895 Feb 13 01:37 config.pck.last
>drwxrwsr-x 4 mailman mailman 264 Feb 5 12:44 en
>-rwxrwxr-x 1 mailman mailman 46 Feb 12 10:02 pending.pck
>-rwxrwxr-x 1 mailman mailman 24 Feb 12 10:02 request.pck
>Should config.pck be owned by mailman? or is there something else wrong?
The owner of config.pck will change depending on whether it was last
updated via the web interface or via a qrunner. That is not the
problem as it should always be group 'mailman' and all processes
including the crons should run as group mailman. That is the question?
Is the user running this cron in the mailman group. If so, is SELinux
or some other security policy managment possibly involved?
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