Date: Tue, 30 Mar 2004 19:52:33 +0400 From: Andrey Chernov <ache@nagual.pp.ru> To: "Brian F. Feldman" <green@FreeBSD.ORG> Cc: Dag-Erling Smorgrav <des@FreeBSD.ORG> Subject: Re: cvs commit: src/etc/mtree BSD.local.dist BSD.usr.dist Message-ID: <20040330155233.GA71146@nagual.pp.ru> In-Reply-To: <200403301533.i2UFXDhZ030459@green.homeunix.org> References: <20040330142213.GA52230@nagual.pp.ru> <200403301533.i2UFXDhZ030459@green.homeunix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040330155233.GA71146>