From owner-freebsd-questions@FreeBSD.ORG Sat Jan 26 09:22:28 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 8596028C for ; Sat, 26 Jan 2013 09:22:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 35884794 for ; Sat, 26 Jan 2013 09:22:28 +0000 (UTC) Received: from r56.edvax.de (port-92-195-8-191.dynamic.qsc.de [92.195.8.191]) by mx01.qsc.de (Postfix) with ESMTP id 5FB473D093; Sat, 26 Jan 2013 10:22:24 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r0Q9MRNQ002185; Sat, 26 Jan 2013 10:22:27 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 26 Jan 2013 10:22:27 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-Id: <20130126102227.a67614f1.freebsd@edvax.de> In-Reply-To: <1359190878.2029.42.camel@precise> References: <51030400.9050404@gmail.com> <20130126084856.787531e6.freebsd@edvax.de> <1359190878.2029.42.camel@precise> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2013 09:22:28 -0000 On Sat, 26 Jan 2013 10:01:18 +0100, Ralf Mardorf wrote: > On Sat, 2013-01-26 at 08:48 +0100, Polytropon wrote: > > On Fri, 25 Jan 2013 16:15:28 -0600, Joshua Isom wrote: > > > As for the listings in /usr/local > > > they'll need fixed. On my system, almost everything's owned by root. > > > > There are a few exceptions when files are owned by a daemon. > > As I said, re-installing those parts (or even world) should > > fix this, but maybe it's possible to apply some "mtree magic" > > to fix the owner to the proper one (root in most cases). > > Rebuilding world only shouldn't take that long. If you still have the /usr/obj subtree where you installed world from last time, you only need to "make installworld" (as explained in /usr/src/Makefile's comment header). There has also been a very good advice on how to use mtree to do this (as the files don't need re-installation per se, because they haven't changed). > > > The man directories are owned by man, and > > > /usr/local/libexec/polkit-set-default-helper is set as polkit:polkit. > > > > That's a good example for the non-root exceptions; there might > > be others. > > There are others on my system, so I can't simply run chown -R :(. That's correct. If you can spot those "irregularities" in /usr/local, it seems to be the safest way to re-install the ports those files belong to. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...