[Bug 543148] Re: Private Archive Permissions Are Incorrect

2010-03-22 Thread Andre Naef
No. It is just the the CGI scripts that have the sgid flag asserted.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543148] Re: Private Archive Permissions Are Incorrect

2010-03-20 Thread Andre Naef
To clarify, "Mailman scripts" refers to the Mailman CGI scripts. One use
of these scripts is to moderate postings which in turn may cause a write
into the archive when a posting is accepted.

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 543148] [NEW] Private Archive Permissions Are Incorrect

2010-03-20 Thread Andre Naef
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs