From owner-freebsd-questions@FreeBSD.ORG Sat Jul 18 00:28:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6E82106566B for ; Sat, 18 Jul 2009 00:28:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 74B868FC08 for ; Sat, 18 Jul 2009 00:28:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-64-14.dynamic.qsc.de [92.195.64.14]) by mx02.qsc.de (Postfix) with ESMTP id 48A921DD00; Sat, 18 Jul 2009 02:28:29 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n6I0SN4n006460; Sat, 18 Jul 2009 02:28:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 18 Jul 2009 02:28:22 +0200 From: Polytropon To: Chad Perrin Message-Id: <20090718022822.07ca9f17.freebsd@edvax.de> In-Reply-To: <20090718000736.GA90771@kokopelli.hydra> References: <20090717224837.GA52217@kokopelli.hydra> <20090718014347.1a182ef7.freebsd@edvax.de> <20090718000736.GA90771@kokopelli.hydra> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: upgrade from Firefox 3.0 to Firefox 3.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2009 00:28:31 -0000 On Fri, 17 Jul 2009 18:07:36 -0600, Chad Perrin wrote: > On Sat, Jul 18, 2009 at 01:43:47AM +0200, Polytropon wrote: > > On Fri, 17 Jul 2009 16:48:37 -0600, Chad Perrin wrote: > > > So . . . how do I upgrade Firefox from 3.0 to 3.5 without running the > > > risk of losing everything (bookmarks, a 100-tab session, et cetera)? > > > > Well, I don't think those settings get altered in any way - they do not > > reside in the port's directories (where it will be installed into). > > To be sure, make a backup copy of your ~/.mozilla/ directory before. > > Does that cover both bookmarks *and* my tab session? I think so. Because a !root user cannot write to Firefox's directories (inside the /usr/local/ subtree), data local to the user will be stored in his home directory. The correct path is ~/.mozilla/firefox and maybe ~/.mozilla/default. I can at least confirm it for the bookmarks. I haven't checked for tab sessions because I'm not using that feature. But just judging from a conceptual point of view: WHY NOT? :-) > > > For > > > some reason, it seems that the upgrade has to be made by deleting 3.0 and > > > installing 3.5 afterward. What's up with that? > > > > No idea. Anyway, user's files won't be touched. > > Do you know this from personal experience, or are you just assuming that > I won't pull out all my hair five seconds after I discover it deleted a > bunch of shit I wanted to keep? As I said, I can confirm it for bookmarks in Firefox. It's a similar thing with Thunderbird's mailboxes. The rest is just deduction from UNIX principles, formed into a kind of counter-question: Why (and how) should user data be saved within the application's directory structures? The update process will ONLY have effect on the files installed by the port. Are your user files mentioned in the corresponding control files of the port? Surely not - how could they? The port will only delete those files that are list as have been installed by the port, nothing more, nothing less. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...