Peter Matulis wrote:

>I have mail for the mailman user redirected to my account.
>Today I got this in my inbox.  What should I do to correct my setup?
>Thanks for any help.
>
>
>
>Traceback (most recent call last):
>  File "/usr/local/lib/mailman/cron/nightly_gzip", line 154, in ?
>    main()
>  File "/usr/local/lib/mailman/cron/nightly_gzip", line 140, in main
>    compress(f)
>  File "/usr/local/lib/mailman/cron/nightly_gzip", line 81, in compress
>    outfp = gzip.open(txtfile+'.gz', 'wb', 6)
>  File "/usr/local/lib/python2.4/gzip.py", line 49, in open
>    return GzipFile(filename, mode, compresslevel)
>  File "/usr/local/lib/python2.4/gzip.py", line 95, in __init__
>    fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
>IOError: [Errno 13] Permission denied:
>'/var/spool/mailman/archives/private/somelist/2006-April.txt.gz'


Make sure that the mailman user:group has at least search ('x')
permission on every directory in the path to
/var/spool/mailman/archives/private/somelist and at least 'rwx' on the
somelist directory itself and at least 'rw' on the file if it exists.

Those would be the minimum necessary permissions, but bin/check_perms
will check your installation and will want more than that, namely
'rws' for the mailman group on the mailman, archives, private and
somelist directories.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to