From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 02:25:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 71BC6745 for ; Mon, 28 Jan 2013 02:25:35 +0000 (UTC) (envelope-from ralf.mardorf@alice-dsl.net) Received: from smtp-out01.alice-dsl.net (smtp-out01.alice-dsl.net [88.44.60.6]) by mx1.freebsd.org (Postfix) with ESMTP id DF9F31E3 for ; Mon, 28 Jan 2013 02:25:34 +0000 (UTC) Received: from out.alice-dsl.de ([192.168.125.60]) by smtp-out01.alice-dsl.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Jan 2013 03:24:29 +0100 Received: from [78.50.22.55] ([78.50.22.55]) by out.alice-dsl.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Jan 2013 03:24:07 +0100 Message-ID: <1359339846.2513.56.camel@q> Subject: Re: Sharing a mail folder between Linux and FreeBSD From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Mon, 28 Jan 2013 03:24:06 +0100 In-Reply-To: <20130126002418.GA73521@neutralgood.org> References: <20130126002418.GA73521@neutralgood.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Jan 2013 02:24:08.0220 (UTC) FILETIME=[8D10E5C0:01CDFCFE] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 02:25:35 -0000 On Fri, 2013-01-25 at 19:24 -0500, kpneal@pobox.com wrote: > You can use mtree against the spec files in /etc/mtree/ to check for and > fix incorrect permissions and owners on base system files. It won't help > with /usr/local, but at least you can get the base straight. > > As root, from the root directory, something like this: > mtree -U -f /etc/mtree/BSD.root.dist > > There are other spec files in that directory. Poke around. So mtree can't fix /usr/local and poking around without knowledge is asking for trouble :(. /etc/mtree/BSD.root.dist is for the whole base?