From owner-freebsd-ports@FreeBSD.ORG Fri Apr 20 18:51:10 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 169C816A401 for ; Fri, 20 Apr 2007 18:51:10 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id E258313C4C4 for ; Fri, 20 Apr 2007 18:51:09 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 7BAE6217A8F; Fri, 20 Apr 2007 14:51:11 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 20 Apr 2007 14:51:10 -0400 X-Sasl-enc: VgH1VYIpNCIgvh54EVfWwP8zcgGS64wtL+WMEBoaDQXQ 1177095069 Received: from [10.1.10.132] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 9C9576EED; Fri, 20 Apr 2007 14:51:09 -0400 (EDT) In-Reply-To: <200704201144.14617.david@vizion2000.net> References: <200704200842.48793.david@vizion2000.net> <200704201144.14617.david@vizion2000.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1598419F-7ABB-42F0-8895-1807421E0BE6@goldmark.org> Content-Transfer-Encoding: 7bit From: Jeffrey Goldberg Date: Fri, 20 Apr 2007 13:51:07 -0500 To: David Southwell X-Mailer: Apple Mail (2.752.2) Cc: ports@freebsd.org, Jean Milanez Melo , List_Mailman Org Subject: Re: Mailman GID problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 18:51:10 -0000 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/