From owner-freebsd-stable@FreeBSD.ORG Fri Jan 20 14:50:48 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EE29106566B for ; Fri, 20 Jan 2012 14:50:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id B9FFA8FC0C for ; Fri, 20 Jan 2012 14:50:47 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9A71328426; Fri, 20 Jan 2012 15:50:45 +0100 (CET) Received: from [192.168.1.2] (ip-86-49-61-235.net.upcbroadband.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id D1E2928423; Fri, 20 Jan 2012 15:50:44 +0100 (CET) Message-ID: <4F197F44.8000902@quip.cz> Date: Fri, 20 Jan 2012 15:50:44 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Doug Barton Subject: not overwriting files in /usr/share/skel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 14:50:48 -0000 Files in /usr/share/skel are used as example . (dot) files for new accounts, when new user is added by adduser command. We have some local modifications in those files, like another umask and so on. The modification is persistent accross upgrades if system is upgraded by freebsd-update, as we have the directory listed in UpdateIfUnmodified and MergeChanges. But on some machines, we can't use freebsd-update (in jails, or those running STABLE instead of RELEASE). The files are overwritten on each installworld. Is there any option to not overwrite files in /usr/share/skel or install/upgrade them with mergemaster instead? Or should we use some other directory and use adduser.conf instead? Miroslav Lachman PS: I am CCing you Doug, because I think you are the most competent person in this area