From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 11:07:08 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62A4616A40A for ; Thu, 15 Mar 2007 11:07:08 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id F27F113C4AE for ; Thu, 15 Mar 2007 11:07:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HRnnN-000LN7-Jt; Thu, 15 Mar 2007 13:06:57 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Matthew D. Fuller" In-reply-to: <20070315103800.GU56342@over-yonder.net> References: <200703151035.l2FAZjKa097746@lurza.secnetix.de> <20070315103800.GU56342@over-yonder.net> Comments: In-reply-to "Matthew D. Fuller" message dated "Thu, 15 Mar 2007 05:38:00 -0500." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 15 Mar 2007 13:06:57 +0200 From: Danny Braniss Message-ID: Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Making /var/mail mode 1777 (was Re: Installing sendmail SUID installworld suggestion) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 11:07:08 -0000 > On Thu, Mar 15, 2007 at 11:35:45AM +0100 I heard the voice of > Oliver Fromme, and lo! it spake thus: > > > > What's the best way to prevent that? I tried editing the > > appropriate mtree file, but that feels like a hack rather > > than a clean solution. > > Well, I did it by the hack of stuffing a 'chmod 1777' in rc.local... > in /etc/mtree/BSD.var.dist, change ... mail gname=mail mode=0775 to mail gname=mail mode=1777 see also /etc/rc.d/var danny