Public bug reported:

Binary package hint: mailman

This bug report is for:

Description:    Ubuntu lucid (development branch)
Release:        10.04

mailman:
  Installed: 1:2.1.13-1
  Candidate: 1:2.1.13-1

It would appear that there is a permission problem for the directory
/var/lib/mailman/archives/private:

drwxrws--- 8 root www-data 4096 2010-03-21 02:40 private

By default, this directory is created with group www-data. This prevents
Mailman scripts from accessing the archive as these scripts are run with
set group ID "list". As a result, nothing is written into the archive. A
typical error from /var/log/mailman/error looks like this:

Mar 21 02:38:19 2010 (29405) Traceback (most recent call last):
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
    self._onefile(msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
    mlist.ArchiveMail(msg)
  File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 198, in ArchiveMail
    self.__archive_to_mbox(msg)
  File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 167, in 
__archive_to_mbox
    mbox = self.__archive_file(afn)
  File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 155, in 
__archive_file
    return Mailbox.Mailbox(open(afn, 'a+'))
IOError: [Errno 13] Permission denied: 
'/var/lib/mailman/archives/private/test.mbox/test.mbox'

** Affects: mailman (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Private Archive Permissions Are Incorrect
https://bugs.launchpad.net/bugs/543148
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mailman in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to