From owner-cvs-src@FreeBSD.ORG Tue Mar 30 07:52:35 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BB6B16A4CE; Tue, 30 Mar 2004 07:52:35 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BE8D43D46; Tue, 30 Mar 2004 07:52:34 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i2UFqX58075184; Tue, 30 Mar 2004 19:52:33 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i2UFqXaK075183; Tue, 30 Mar 2004 19:52:33 +0400 (MSD) (envelope-from ache) Date: Tue, 30 Mar 2004 19:52:33 +0400 From: Andrey Chernov To: "Brian F. Feldman" Message-ID: <20040330155233.GA71146@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , "Brian F. Feldman" , Dag-Erling Smorgrav , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <20040330142213.GA52230@nagual.pp.ru> <200403301533.i2UFXDhZ030459@green.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403301533.i2UFXDhZ030459@green.homeunix.org> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.24.0.7; VDF 6.24.0.75 (host: pobrecita.freebsd.ru) cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG cc: Dag-Erling Smorgrav Subject: Re: cvs commit: src/etc/mtree BSD.local.dist BSD.usr.dist X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 15:52:35 -0000 On Tue, Mar 30, 2004 at 10:33:13AM -0500, Brian F. Feldman wrote: > I did not see an explanation. I saw that the mtree could fail but not why See recent discussion in current@ > correctly documenting and enforcing these links in the etc/mtree CANNOT be > the wrong thing! The situation is not so easy, it depends on which mtree mode you use (-P or -L). I'll try to be short. Imagine, say, you have /var/mail linked to /disk1/mail. To enforce correct permissions on /disk1/mail you need to use MTREE_FOLLOWS_SYMLINKS= -L in your /etc/make.conf (or set it in the env. etc). At least in the past some ports try to change /var/mail permission, so it is real life example. But, once you use -L, all symlinks in the BSD.*.dist becomes just directories and mtree will reports mismatch. -- Andrey Chernov | http://ache.pp.ru/