From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 10:01:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BCF916A4CE for ; Fri, 21 Nov 2003 10:01:24 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AF9943F75 for ; Fri, 21 Nov 2003 10:01:23 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.24; FreeBSD) id 1ANFas-000Ihe-9a for questions@freebsd.org; Fri, 21 Nov 2003 18:01:22 +0000 Date: Fri, 21 Nov 2003 18:01:22 +0000 From: Jez Hancock To: questions@freebsd.org Message-ID: <20031121180122.GC69747@users.munk.nu> Mail-Followup-To: questions@freebsd.org References: <20031121103130.W599@genisis> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031121103130.W599@genisis> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: customized /usr/share/skel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 18:01:24 -0000 On Fri, Nov 21, 2003 at 10:36:17AM -0500, Dru wrote: > I'd like to customize /usr/share/skel. It's an easy matter to edit > /usr/src/share/skel/Makefile and to make my own dot files. > > However, will my customizations get overwritten when I make my next world? > If so, what's the best way to go about preventing my files from being > overwritten? e.g. should I place my custom Makefile and dot files in a > different directory and rerun my Makefile after a successful install > world? How about changing the system immutable flags on the /usr/share/skel files you don't want overwritten (chflags noschg)? Not a perfect solution but I don't know of any way that your aim can be achieved via /etc/make.conf or similar. Having said that, I haven't had any problems in the past with the make world process overwriting my customized /usr/share/skel files - whether or not that was because I used mergemaster in interactive mode and chose not to overwrite those files I can't remember now. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/