From owner-freebsd-current Mon Jun 29 23:50:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA15500 for freebsd-current-outgoing; Mon, 29 Jun 1998 23:50:20 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA15353; Mon, 29 Jun 1998 23:49:48 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.8/8.8.7) id VAA25062; Mon, 29 Jun 1998 21:08:04 -0700 (PDT) Message-ID: <19980629210803.39102@hydrogen.nike.efn.org> Date: Mon, 29 Jun 1998 21:08:03 -0700 From: John-Mark Gurney To: Bruce Evans Cc: asami@FreeBSD.ORG, jb@cimlogic.com.au, current@FreeBSD.ORG, paulz@trantor.stuyts.nl Subject: Re: make buildworld needs root privs , why ? References: <199806260930.TAA03509@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199806260930.TAA03509@godzilla.zeta.org.au>; from Bruce Evans on Fri, Jun 26, 1998 at 07:30:35PM +1000 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.6-STABLE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans scribbled this message on Jun 26: > > * > Shouldn't it be possible to builworld as a non-priviliged user and only > > * > make installworld as root ??? > > > >It should, IMO. > > It almost is. You have to set BINOWN, BINGRP, SHAREOWN and SHAREGRP > to something that you can shown to, and you have to have write permissions > to /usr/obj/your-usr-src or set MAKEOBJDIRPREFIX to somewhere you can > write to. yep, you need TMAC{OWN,GRP} in there too... > >Didn't someone submit a patch to fix this very problem? Bruce? > > It's almost worked for a year or two. I don't know why I thought there yep... I've been buildworlding as a normaly user for around a year now.. > was no problem with schg flags. schg is currently used for a whole 2 > 2 files under ${WORLDTMP} (libc.so.M.m and libc_r.so.M.m), and buildworld > by non-root crashes about half way through when the first of these is > installed. nope, actually, install silently ignores setting the schg flag... at least it does on my 2.2.6-stable box... also, buildworld is useful to get the -current environment if you need to test/build kernels... personally I prefer to build -current kernels on my k6/200 than my 486/66dx2 -current box... -- John-Mark Gurney Voice: +1 541 683 7109 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD Don't trust anyone you don't have the source for To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message