[Mailman-Users] OSError: [Errno 13] Permission denied /var/lib/mailman/archives/private/list/attachments: No such file or directory
dave at fiteyes.com
Tue May 8 17:46:10 CEST 2012
On Tue, May 8, 2012 at 11:41 AM, David <dave at fiteyes.com> wrote:
> On Tue, May 8, 2012 at 11:19 AM, David <dave at fiteyes.com> wrote:
>> 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 --
>>> > 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
> Here is some unexpected behavior:
> root at localhost:/var/lib/mailman# bin/check_perms -f
> /var/lib/mailman/archives/private/list/2012-May/index.html bad group (has:
> www-data, expected list) (fixing)
> Problems found: 1
> Re-run as list (or root) with -f flag to fix
> Re-running multiple times doesn't fix this.
> Checking permissions shows that it has the correct group (list):
Ooops. My mistake. There was a symlink involved that I didn't check.
Using the -h option on chgrp fixed this issue too.
# bin/check_perms -f
No problems found
All permissions are reported as OK now. The check_perms is a very handy
script. Thanks for the suggestion to use it.
More information about the Mailman-Users