FAQ
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:
'/usr/local/mailman/lists/sis_directors/config.pck.tmp.lists.12634'

Melinda Gilmore
Systems Engineer
The Ohio State University
Enterprise Messaging/OIT
614-292-4953

Search Discussions

  • Dragon at Jan 3, 2008 at 6:00 pm

    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:
    '/usr/local/mailman/lists/sis_directors/config.pck.tmp.lists.12634'
    ---------------- 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.

    Dragon

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJan 3, '08 at 5:23p
activeJan 3, '08 at 6:00p
posts2
users2
websitelist.org

2 users in discussion

Dragon: 1 post Melinda Gilmore: 1 post

People

Translate

site design / logo © 2022 Grokbase