Making world doesn't change all ownerships?
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Tue Jan 2 12:09:34 PST 2007
Francisco Reyes <lists at 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?
More information about the freebsd-questions
mailing list