I started have permission problems with mailman just now. All messages
sent to the lists get shunt, and when I try to unshunt them I get these
errors in mailman/error log:
Dec 28 21:05:41 2005 (23314) Archive file access failure:
/var/lib/mailman/archives/private/depto.mbox/depto.mbox [Errno 13]
Permission denied:
'/var/lib/mailman/archives/private/depto.mbox/depto.mbox'
Dec 28 21:05:41 2005 (23314) Uncaught runner exception: [Errno 13]
Permission denied:
'/var/lib/mailman/archives/private/depto.mbox/depto.mbox'
Dec 28 21:05:41 2005 (23314) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
self._onefile(msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in
_dispose
mlist.ArchiveMail(msg)
File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 199, in
ArchiveMail
self.__archive_to_mbox(msg)
File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 168, in
__archive_to_mbox
mbox = self.__archive_file(afn)
File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 156, in
__archive_file
return Mailbox.Mailbox(open(afn, 'a+'))
IOError: [Errno 13] Permission denied:
'/var/lib/mailman/archives/private/depto.mbox/depto.mbox'
Now permissions look OK, and check_perms finishes with everything OK:
[root@newweb mailman]# ./bin/check_perms
No se han encontrado problemas
[root@newweb mailman]# ls -ld
/var/lib/mailman/archives/private/depto.mbox/
drwxrwsr-x 2 root mailman 4096 ene 7 2005
/var/lib/mailman/archives/private/depto.mbox/
What is wrong, and why did it work OK until now?
--
20:30:02 up 6 days, 7:42, 1 user, load average: 1.96, 3.22, 2.36
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------