From owner-freebsd-bugs Tue Dec 23 12:30:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA05442 for bugs-outgoing; Tue, 23 Dec 1997 12:30:04 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA05434; Tue, 23 Dec 1997 12:30:02 -0800 (PST) (envelope-from gnats) Date: Tue, 23 Dec 1997 12:30:02 -0800 (PST) Message-Id: <199712232030.MAA05434@hub.freebsd.org> To: freebsd-bugs Cc: From: John-Mark Gurney Subject: Re: misc/5369: ordinary user cannot ``buildworld'' Reply-To: John-Mark Gurney Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR misc/5369; it has been noted by GNATS. From: John-Mark Gurney To: mi@aldan.algebra.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: misc/5369: ordinary user cannot ``buildworld'' Date: Tue, 23 Dec 1997 12:26:54 -0800 root@rtfm.ziplink.net scribbled this message on Dec 23: > >Description: > > The ``buildworld'' target tries to ``install'' some files > as bin.bin into the /usr/obj . That fails unless the user > is root. SU privileges should only be neccessary to do > ``make installworld''. > > >How-To-Repeat: > > As an ordinary user > cd /usr/src > make buildworld > .... > < watch permission denied errors > one way to get around this is to override the owner/groups of the installed stuff... I run the command: time -l make $* buildworld BINGRP=admin BINOWN=jmg TMACOWN=jmg TMACGRP=admin \ SHAREOWN=jmg SHAREGRP=admin -DNOINFO -DNOPROFILE -DNOTCL -DNOTERMCAP but there are some other parts of the tree that hard code the owner/group that change be changed, so I still run buildworld from root... I haven't had time to track down the neccessary changes to get it completely working... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD