[Mailman-Users] Permissions prob

Dan Mick Dan.Mick at West.Sun.COM
Tue Oct 31 04:28:44 CET 2000


Well, mine is 664 mailman/mailman.  I'm not certain why.  But it works
that way.  The scheme *seems* to be (don't quote me on this) 
group-writable-by-group-mailman, so that the programs, which should
be sgid-mailman, will have permissions.


> Since I upgraded from 1.1something to 2.0beta5 (Using the Debian
> packages in the unstable dist):
> 
> Oct 31 09:47:04 2000 (23491) Delivery exception: [Errno 13] Permission denied: 
'/var/lib/mailman/archives/private/nsw-consent.mbox/nsw-consent.mbox'
> Oct 31 09:47:04 2000 (23491) Traceback (innermost last):
>   File "/usr/lib/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in 
do_pipeline
>     func(mlist, msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Handlers/ToArchive.py", line 31, in process
>     mlist.ArchiveMail(msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 197, in 
ArchiveMail    self.__archive_to_mbox(msg)
>   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 163, in 
__archive_to_mbox
>     mbox = self.__archive_file(afn)
>   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 149, in 
__archive_file return Mailbox.Mailbox(open_ex(afn, "a+"))
>   File "/usr/lib/mailman/Mailman/Utils.py", line 578, in open_ex
>     fd = os.open(filename, flags, perms)
> IOError: [Errno 13] Permission denied: 
'/var/lib/mailman/archives/private/nsw-consent.mbox/nsw-consent.mbox'
> 
> 
> check_perms reports nothing about the archives, they are set to
> root-only write though:
> 
> [root at dora] ~# ls -l 
/var/lib/mailman/archives/private/nsw-consent.mbox/nsw-consent.mbox
>    0 -rw-r--r--   1 root     list            0 May  3  2000 
/var/lib/mailman/archives/private/nsw-consent.mbox/nsw-consent.mbox
> 
> Should I try setting them to 0664 instead of 0644?
> 
> bekj 
> 
> -- 
> : --Hacker-Neophile-Eclectic-Geek-Grrl-Queer-Disabled-Boychick--
> : gossamer at tertius.net.au   http://www.tertius.net.au/~gossamer/
> : If you want, then start to laugh.  If you must, then start to
> : cry. Be yourself - don't hide, Just believe in destiny.
> : -- Enigma
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users






More information about the Mailman-Users mailing list