make installworld for non-root user

Harti Brandt harti at freebsd.org
Wed Jul 7 00:57:56 PDT 2004


Hi all,

is there an easy way for a non-root user to test the installworld target?
I came up with

make SHAREOWN=harti SHAREGRP=harti LIBOWN=harti LIBGRP=harti \
NOFSCHG=yes INFOMODE=644 INFOOWN=harti INFOGRP=harti MANOWN=harti \
MANGRP=harti BINOWN=harti BINGRP=harti DESTDIR=/t/scratch/harti/root/ \
installworld

but that one breaks in libexec/pt_chown (which has a hard-coded 
BINOWN=root).

Perhaps I can't see the obvious solution?

harti


More information about the freebsd-hackers mailing list