[Mailman-Users] OSError: [Errno 13] Permission denied /var/lib/mailman/archives/private/list/attachments: No such file or directory

David dave at fiteyes.com
Tue May 8 17:19:29 CEST 2012


On Tue, May 8, 2012 at 4:48 AM, Stephen J. Turnbull <stephen at xemacs.org>wrote:

> David writes:
>
>  > apparently I missed something. The problem was simply permissions -- the
>  > well-known Ubuntu issue.
>
> Not just Ubuntu.  I believe pretty much every system that Mailman runs
> on runs into these issues every once in a while.
>
> It's important to run bin/check_perms every time you upgrade, and
> check the output carefully (IIRC setup.py runs it automatically, so
> the important part is checking the output).  If it's not 100% clean,
> then run "bin/check_perms -f".  Sometimes multiple runs are
> necessary.
>

How would you recommend addressing this?

root at localhost:/var/lib/mailman# bin/check_perms -f
/var/lib/mailman/Mailman bad group (has: root, expected list) (fixing)
/var/lib/mailman/logs bad group (has: root, expected list) (fixing)
/var/lib/mailman/bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/icons bad group (has: root, expected list) (fixing)
/var/lib/mailman/locks bad group (has: root, expected list) (fixing)
/var/lib/mailman/scripts bad group (has: root, expected list) (fixing)
/var/lib/mailman/cron bad group (has: root, expected list) (fixing)
/var/lib/mailman/cgi-bin bad group (has: root, expected list) (fixing)
/var/lib/mailman/mail bad group (has: root, expected list) (fixing)
/var/lib/mailman/templates bad group (has: root, expected list) (fixing)
/var/lib/mailman/archives/private/list/2012-April/index.html bad group
(has: www-data, expected list) (fixing)
/var/lib/mailman/archives/private/list/2012-May/index.html bad group (has:
www-data, expected list) (fixing)
Problems found: 12
Re-run as list (or root) with -f flag to fix

Re-running it does not change the results.

I believe each item in the output is a symlink. I checked a few:

# ls -la /var/lib/mailman/Mailman
lrwxrwxrwx 1 root root 24 2012-04-17 23:16 /var/lib/mailman/Mailman ->
/usr/lib/mailman/Mailman

# ls -la /usr/lib/mailman/Mailman
total 824
drwxr-xr-x 11 root list  4096 2012-05-01 14:37 .


More information about the Mailman-Users mailing list