From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 20:09:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C695516A4A0 for ; Tue, 2 Jan 2007 20:09:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id A1EBD13C468 for ; Tue, 2 Jan 2007 20:09:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 17928 invoked from network); 2 Jan 2007 20:09:18 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Jan 2007 20:09:18 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id AFE5A2842F; Tue, 2 Jan 2007 15:09:17 -0500 (EST) To: Francisco Reyes References: From: Lowell Gilbert Date: Tue, 02 Jan 2007 15:09:17 -0500 In-Reply-To: (Francisco Reyes's message of "Mon, 01 Jan 2007 23:40:12 -0500") Message-ID: <448xgl6viq.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: Free BSD Questions list Subject: Re: Making world doesn't change all ownerships? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Free BSD Questions list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2007 20:09:34 -0000 Francisco Reyes writes: > I have a test machine where some users changed a number of directories > to be owned by "www:www" by mistake. The machine was unusable. > > After rebuilding from sources the machine was usable, but I noticed > that a number of files still were owned by "www". In particular I saw > files in /usr/sbin, /usr/bin.. and likely other places. > > Shouldn't rebuilding from source fix the ownership? > I followed the steps in "Common items" from /usr/src/UPDATING, like > have done many times before... > > make buildworld > make kernel KERNCONF=YOUR_KERNEL_HERE > [1] > [3] > mergemaster -p [5] > make installworld > make delete-old > mergemaster [4] > > > Since it is a test machine, if there are still odd issues I may just > re-do the whole machine.. and newfs.. but was puzzled that rebulding > world would leave binarines with the wrong ownership. Anything it installs, gets installed with standard ownership. By default, anyway; perhaps (just a guess) you have set options for the install command in make.conf?