Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2007 13:51:07 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        David Southwell <david@vizion2000.net>
Cc:        ports@freebsd.org, Jean Milanez Melo <jmelo@freebsdbrasil.com.br>, List_Mailman Org <mailman-users@python.org>
Subject:   Re: Mailman GID problem
Message-ID:  <1598419F-7ABB-42F0-8895-1807421E0BE6@goldmark.org>
In-Reply-To: <200704201144.14617.david@vizion2000.net>
References:  <200704200842.48793.david@vizion2000.net> <CA436D2A-08D1-4CC9-B300-7FF4E7F929F0@goldmark.org> <200704201144.14617.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1598419F-7ABB-42F0-8895-1807421E0BE6>