From owner-freebsd-questions@FreeBSD.ORG Sat Jan 26 14:33:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 35138FAC for ; Sat, 26 Jan 2013 14:33:17 +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 E96961D8 for ; Sat, 26 Jan 2013 14:33:16 +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 EA8333CDC8; Sat, 26 Jan 2013 15:33:11 +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 r0QEXE10003447; Sat, 26 Jan 2013 15:33:14 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 26 Jan 2013 15:33:14 +0100 From: Polytropon To: Ralf Mardorf Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-Id: <20130126153314.1b3aab01.freebsd@edvax.de> In-Reply-To: <1359191497.2029.49.camel@precise> References: <20130125133346.f1484ed8.freebsd@edvax.de> <20130125150414.f262d162.freebsd@edvax.de> <20130125161215.f498f4e4.freebsd@edvax.de> <5102FE7B.4070808@gmail.com> <20130126084957.2dd3f122.freebsd@edvax.de> <1359191497.2029.49.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 14:33:17 -0000 On Sat, 26 Jan 2013 10:11:37 +0100, Ralf Mardorf wrote: > On Sat, 2013-01-26 at 08:49 +0100, Polytropon wrote: > > On Fri, 25 Jan 2013 23:22:29 +0100, Ralf Mardorf wrote: > > > On Fri, 25 Jan 2013 22:51:55 +0100, Joshua Isom wrote: > > > > Sorry if my original command ended up breaking your system > > > > > > Don't worry, I run dump to backup it, but I'll try to fix it without > > > restoring it from the backup. > > > > Maybe you can read the original owners from that backup and > > just _change them_ accordingly? As the files haven't been > > altered, there would be no need to rewrite them entirely. > > I used dump and can't find how to extract something from the dump files. > If I would restore from a dump I would lose something, since the dump is > some days old and I worked on my FreeBSD. Maybe something along "restore -t" is possible, as you only would want to extract owner information and nothing more. That information could be used to chown the files which need that change. > If it would be possible to write a script that does rebuild everything, > with the same configs and _without the need of user interaction_ I would > rebuild and if needed update (at least Chromium) everything. But last > time there were still yes/no (should I delete this file) questions all > the times. Maybe you can do a separate check for /usr/local (installed ports) and "everything else" (and both excluding /home). The one is cured by the "mtree magic" (or "make installworld" in worst case), the other by reinstalling ports that need it (or, if only few files are affected, to check the "install" directives in the Makefile and do it manually). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...