On Tue, May 8, 2012 at 11:19 AM, David <d...@fiteyes.com> wrote: > > > On Tue, May 8, 2012 at 4:48 AM, Stephen J. Turnbull <step...@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. >> > > > Here is some unexpected behavior:
root@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): -rw-rw-r-- 1 list list 1037 May 8 14:02 index.html Any recommendation on fixing this? I fixed the other group problems with the help of this blog post: http://www.mydigitallife.info/change-group-ownership-of-symbolic-links-in-unix-or-linux/ chgrp can be used to change group ownership of files and directories in > almost all UNIX-variant platforms, including Linux such as Fedora Core, > Ubunto and etc. However, if you try to change the group membership of a > symbolic link, the group ownership of its referenced or linked file is > changed instead. > > This is the default behavior of chgrp command, where dereference option is > used by default so that all changes will affect the referent of each > symbolic link, rather than the symbolic link itself. > > To change the group ownership of symbolic link, simply use the -h or > –no-dereference flag to the chgrp command. > > Example: > > chgrp -h new_group symbolic_link_name > ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org