Bug#603904: [Pkg-mailman-hackers] Bug#603904: Fresh installation of mailman has wrong permissions, causes archiving to fail

2012-07-18 Thread Thorsten Glaser
On Tue, 17 Jul 2012, NERvOus wrote: This way mailman (running as list) can write to /var/lib/mailman/archive which is owned by group www-data. Hrm, how about /usr/lib/mailman/bin/check_perms instead? bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn •

Bug#603904: [Pkg-mailman-hackers] Bug#603904: Fresh installation of mailman has wrong permissions, causes archiving to fail

2012-07-18 Thread Luca Gibelli
This way mailman (running as list) can write to /var/lib/mailman/archive which is owned by group www-data. Hrm, how about /usr/lib/mailman/bin/check_perms instead? check_perms tells me: /var/lib/mailman/archives/private bad group (has: www-data, expected list) but if you chgrp the dir to

Bug#603904: [Pkg-mailman-hackers] Bug#603904: Fresh installation of mailman has wrong permissions, causes archiving to fail

2012-07-18 Thread Thorsten Glaser
On Wed, 18 Jul 2012, Luca Gibelli wrote: but if you chgrp the dir to list, then the webserver cannot access it any longer, because its permissions are drwxrws---. Yes, that’s correct. If you want that, sudo adduser www-data list not the other way round though. bye, //mirabilos --

Bug#603904: [Pkg-mailman-hackers] Bug#603904: Fresh installation of mailman has wrong permissions, causes archiving to fail

2012-07-18 Thread Luca Gibelli
but if you chgrp the dir to list, then the webserver cannot access it any longer, because its permissions are drwxrws---. Yes, that’s correct. If you want that, sudo adduser www-data list not the other way round though. By default, after installing mailman on debian wheezy, the dir

Bug#603904: [Pkg-mailman-hackers] Bug#603904: Fresh installation of mailman has wrong permissions, causes archiving to fail

2012-07-18 Thread Thorsten Glaser
On Wed, 18 Jul 2012, Luca Gibelli wrote: If you run fix_perms -f as you suggested, the dir is chgrp'ed to list and then indeed you need to add the user www-data to the group list to make the private archive work. Hum yes, but that’s how upstream does it. This means that any