On 1/29/19 3:34 AM, Odhiambo Washington wrote: > I got an error this morning about some strange permission while run the > cron. > > Cron <list@lists> [ -x /usr/local/mailman/cron/senddigests ] && > /usr/local/mailman/cron/senddigests: > > Traceback (most recent call last): > File "/usr/local/mailman/cron/senddigests", line 120, in <module> > main() > File "/usr/local/mailman/cron/senddigests", line 98, in main > mlist = MailList.MailList(listname, lock=0) > File "/usr/local/mailman/Mailman/MailList.py", line 133, in __init__ > self.Load() > File "/usr/local/mailman/Mailman/MailList.py", line 693, in Load > dict, e = self.__load(file) > File "/usr/local/mailman/Mailman/MailList.py", line 656, in __load > fp = open(dbfile) > IOError: [Errno 13] Permission denied: > '/usr/local/mailman/lists/skunkworks/config.pck' > > So I fumbled around trying to figure it out without success! > bin/check_perms -f did not help either.
Was this a new list or one that was present during a prior successful cron/senddigests run? Could you access the list via the web UI? What user runs the cron, i.e. the owner of the crontab or the listed user is a system crontab, and can that user access the config.pck file? Can that user successfully run cron/senddigests manually? If the above doesn't give clues, maybe apparmor is involved. Maybe it was a transient glitch. In any case, I wouldn't expect re-installing Mailman to correct a permissions problem if check_perms didn't find anything. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org