Hi, I have a fresh installation of Mailman on Debian Wheezy, and my public mailing list archive is inaccessible (403 Forbidden), but if I switch to private archive it works without error.
I tryed to run check_perms -f as root and I got: wrong group for /var/lib/mailman/cron (ha root invece di list) (fixed) wrong group for /var/lib/mailman/mail (ha root invece di list) (fixed) wrong group for /var/lib/mailman/icons (ha root invece di list) (fixed) wrong group for /var/lib/mailman/logs (ha root invece di list) (fixed) wrong group for /var/lib/mailman/bin (ha root invece di list) (fixed) wrong group for /var/lib/mailman/scripts (ha root invece di list) (fixed) wrong group for /var/lib/mailman/templates (ha root invece di list) (fixed) wrong group for /var/lib/mailman/Mailman (ha root invece di list) (fixed) wrong group for /var/lib/mailman/cgi-bin (ha root invece di list) (fixed) wrong group for /var/lib/mailman/locks (ha root invece di list) (fixed) Problemi riscontrati: 10 Per correggere gli errori rilancia il comando come list (o root) con il flag -f
I tryed to put the user list in the www-data group as reported here:
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1046834.htm...
Here is a part of my mailman.conf:
<Directory /var/lib/mailman/archives/> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
Alias /pipermail/ /var/lib/mailman/archives/public/ Alias /images/mailman/ /usr/share/images/mailman/ ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm ScriptAlias /create /usr/lib/cgi-bin/mailman/create ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo ScriptAlias /options /usr/lib/cgi-bin/mailman/options ScriptAlias /private /usr/lib/cgi-bin/mailman/private ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo
Here are some file and folder permission that could be interesting to solve: :/var/lib/mailman$ ls -l drwxrwsr-x 4 root list 4096 apr 16 21:21 archives
:/var/lib/mailman/archives$ ls -l drwxrws--- 8 list list 4096 set 10 21:37 private drwxrwsr-x 2 list list 4096 set 11 08:07 public
:/var/lib/mailman/archives$ ls -l public/ lrwxrwxrwx 1 root list 41 apr 16 21:25 mailman -> /var/lib/mailman/archives/private/mailman lrwxrwxrwx 1 www-data list 39 set 11 08:07 users -> /var/lib/mailman/archives/private/users
:/var/lib/mailman/archives$ ls -l /var/lib/mailman/archives/private drwxrwsr-x 2 root list 4096 apr 16 21:25 mailman drwxrwsr-x 2 root list 4096 apr 16 21:25 mailman.mbox drwxrwsr-x 6 www-data list 4096 set 11 03:27 users drwxrwsr-x 2 www-data list 4096 set 10 21:47 users.mbox
Does anyone have any suggestions? Ciao, Max-B
-- IM: max-b@jabber.org - OpenPGP Key-Id: 0x5D168FC1
Hi, I solved, in case could be useful for other here is my solution.
Il 11/09/2012 08:39, Massimo Barbieri ha scritto:
:/var/lib/mailman/archives$ ls -l drwxrws--- 8 list list 4096 set 10 21:37 private drwxrwsr-x 2 list list 4096 set 11 08:07 public
The problem is that the private folder has wrong owner. I change it to www-data.
Ciao, Max-B
-- IM: max-b@jabber.org - OpenPGP Key-Id: 0x5D168FC1
Massimo Barbieri wrote:
I solved, in case could be useful for other here is my solution.
Il 11/09/2012 08:39, Massimo Barbieri ha scritto:
:/var/lib/mailman/archives$ ls -l drwxrws--- 8 list list 4096 set 10 21:37 private drwxrwsr-x 2 list list 4096 set 11 08:07 public
The problem is that the private folder has wrong owner. I change it to www-data.
This issue and its solution are well known. See section 4 of the GNU Mailman installation manual <http://www.list.org/mailman-install/node9.html>.
I'm sorry you encountered this issue. Perhaps there is something lacking in the Debian installation documentation. Please see the FAQ at <http://wiki.list.org/x/OIDD>, and if appropriate, report this to Debian.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Massimo Barbieri