[Mailman-Users] Mailman GID problem

Jeffrey Goldberg jeffrey at goldmark.org
Fri Apr 20 20:51:07 CEST 2007


On Apr 20, 2007, at 1:44 PM, David Southwell wrote:

> On Friday 20 April 2007 09:38:03 Jeffrey Goldberg wrote:
>> chown -R nobody:mailman /usr/local/mailman/data
>
> Here is what happens if I do that command:
>
> [root at dns1 /usr/local/mailman]# bin/check_perms
> /usr/local/mailman/data/aliases.db owned by nobody (must be owned  
> by mailman
> /usr/local/mailman/data/virtual-mailman.db owned by nobody (must be  
> owned by
> mailman
> Problems found: 2
> Re-run as mailman (or root) with -f flag to fix
> [root at dns1 /usr/local/mailman]#

Hmmm.  Now that I check, I get the same warning.  However, my system  
does work with owners and permissions like this

Still, I guess this isn't a proper solution to the problem since the  
next time we run

   bin/check_perms -f

we will actually break things on our systems.

Maybe the correct solution is use owner "mailman" and MAIL_GID as  
"mailman", which means a simple fix to the mailman ports Makefile.

In which case, your attempt to recompile with mailman as the GID  
would have been the right approach.

The way to reset the OPTIONS for a FreeBSD port is to run

   make config

in the port directory.  But the MAIL_GID is not among the options  
settable that way.

I believe that if you use

   make -DMAIL_GID=mailman reinstall

then that will pass the correct option to the configure script that  
comes with mailman.

Cheers,

-j

-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/



More information about the Mailman-Users mailing list