[Mailman-Users] which owner for private archives?

Mark Sapiro mark at msapiro.net
Mon Sep 15 17:17:35 CEST 2008


Zbigniew Szalbot erote:
>
>Uncaught Runner Exceptions:
>------------------------------
>     1 [Errno 13] Permission denied:
>'/usr/local/mailman/archives/private/lcw.translators/index.html'
>
>$ l /usr/local/mailman/archives/private/lcw.translators/index.html
>-rw-r--r--  1 www  mailman  1484 Jul 16 11:51
>/usr/local/mailman/archives/private/lcw.translators/index.html
>
>Does it mean index.html should be owned by mailman user?


No. It means index.html should be group writable, i.e. -rw-rw-r--
(0664).


>What about rest of the files in such archives? Some of them are owned by
>mailman some by www.


/usr/local/mailman/archives/private itself needs to be drwxrws--x
(2771) and group mailman or if it is owned by the web server (www in
your case?), it can be drwxrws--- (2770).

Subordinate directories should be drwxrwsr-x (2775), and subordinate
files should be -rw-rw-r-- (0664),and everything should be group
mailman and owner doesn't matter.

bin/check_perms should find/fix this.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list