From owner-freebsd-questions@FreeBSD.ORG Tue Jun 20 21:27:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 C8EB916A479 for ; Tue, 20 Jun 2006 21:27:38 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 763D143D53 for ; Tue, 20 Jun 2006 21:27:38 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 22688 invoked from network); 20 Jun 2006 21:27:37 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Jun 2006 21:27:37 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id F132128449; Tue, 20 Jun 2006 17:27:36 -0400 (EDT) To: Mark References: <200606200103.k5K13pEI017488@asarian-host.net> From: Lowell Gilbert Date: Tue, 20 Jun 2006 17:27:36 -0400 In-Reply-To: <200606200103.k5K13pEI017488@asarian-host.net> (Mark's message of "Tue, 20 Jun 2006 01:03:52 GMT") Message-ID: <4464ivo6uv.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 'FreeBSD-Questions Questions' Subject: Re: Suppressing permissions reset X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 21:27:38 -0000 Mark writes: > When doing a "make buildkernel" and "make installkernel" on FreeBSD > 4.11-RELEASE (on a Vmware box), I noticed the Makefile in /usr/src/etc, > for one, tries to reset permissions on files taken from a series of *.dist > files. I find such initiative a bit too forward for my taste. Is there a > way I can suppress said behavior? Like a Makefile parameter or something. Not really. > And would zero-ing out the *.dist files do the trick? Yes. I would recommend against doing that, though; it's a great protection against shooting your security in the foot. Just decide what you want the permissions to be, and adjust the mtree(8) specifications (those .dist files) accordingly.