
hi there,
I run check_perms with the -f switch and the program runs the program claims it found 100 problems and asks to run the program again. Next time I run it 100 problems are still found. So I did some research to figure out what the problems are.
$ sudo ./check_perms -f /var/lib/mailman/cron bad group (has: root, expected list) (fixing) /var/lib/mailman/Mailman bad group (has: root, expected list) (fixing) /var/lib/mailman/mail bad group (has: root, expected list) (fixing) /var/lib/mailman/icons bad group (has: root, expected list) (fixing) /var/lib/mailman/bin bad group (has: root, expected list) (fixing) /var/lib/mailman/templates bad group (has: root, expected list) (fixing) /var/lib/mailman/cgi-bin bad group (has: root, expected list) (fixing) /var/lib/mailman/scripts bad group (has: root, expected list) (fixing) /var/lib/mailman/logs bad group (has: root, expected list) (fixing) /var/lib/mailman/pythonlib bad group (has: root, expected list) (fixing)
in some cases there are links to another directory. Does this seem normal?
$ ls -l /var/lib/mailman/cron lrwxrwxrwx 1 root root 21 Mar 8 02:20 /var/lib/mailman/cron -> /usr/lib/mailman/cron
/var/lib/mailman/archives/private/<list-name>/2004-April/index.html bad group (has: mailman, expected list) (fixing)
in some cases there are links to another file. Does this seem normal?
# ls -l /var/lib/mailman/archives/private/<list-name>/2004-April/index.html lrwxrwxrwx 1 mailman mailman 11 Jul 30 2010 /var/lib/mailman/archives/private/<list-name>/2004-April/index.html -> thread.html
also I am getting the following error when visiting the archives page for certain lists. What is a good way to fix this issue?
--- snip ---
Forbidden
You don't have permission to access /pipermail/<list-name>/ on this server.
--- snip ---
# ls -ld * drwxrws--- 109 www-data list 4096 Jan 27 2011 private drwxrwsr-x 2 mailman list 4096 Jan 27 2011 public # ls -ld <mail-list>.mbox/ drwxrwsr-x 2 80 list 4096 Oct 6 2008 <mail-list>.mbox/
Cheers