Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jan 2007 15:09:17 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Francisco Reyes <lists@stringsutils.com>
Cc:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: Making world doesn't change all ownerships?
Message-ID:  <448xgl6viq.fsf@be-well.ilk.org>
In-Reply-To: <cone.1167712812.861646.60116.1000@zoraida.natserv.net> (Francisco Reyes's message of "Mon, 01 Jan 2007 23:40:12 -0500")
References:  <cone.1167712812.861646.60116.1000@zoraida.natserv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Francisco Reyes <lists@stringsutils.com> 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]
>        <reboot in single user>                         [3]
>        mergemaster -p                                  [5]
>        make installworld
>        make delete-old
>        mergemaster                                     [4]
>        <reboot>
>
> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448xgl6viq.fsf>