Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 1997 12:30:02 -0800 (PST)
From:      John-Mark Gurney <gurney_j@efn.org>
To:        freebsd-bugs
Subject:   Re: misc/5369: ordinary user cannot ``buildworld''
Message-ID:  <199712232030.MAA05434@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/5369; it has been noted by GNATS.

From: John-Mark Gurney <gurney_j@efn.org>
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



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