Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 1996 13:28:19 -0500
From:      rjk@sparcmill.grauel.com (Richard J Kuhns)
To:        tcg@ime.net
Cc:        questions@freebsd.org
Subject:   Re: src tree owners
Message-ID:  <199607021828.NAA21029@sparcmill.grauel.com>
In-Reply-To: <31D9552A.2988@ime.net>
References:  <199607021144.LAA01066@jraynard.demon.co.uk> <31D9552A.2988@ime.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Chrysler writes:
 > James Raynard wrote:
 > > 
 > > > > Is it safe to chown the src tree so one can use it without
 > > > > having to be su.
 > > > >
 > > > > Is there a `proper` way for this?
 > > >
 > > > Why?  You have to be su to write to anything in there by default (and I
 > > > know this from many personal experieneces forgetting to su to root before
 > > > editing my kernel config :-).
 > > 
 > > Erm, perhaps that was why he was asking? :-)
 > > 
 > 
 > Thanks James.. :)
 > 
 > > In any event, you have to be root to be able to *install* anything
 > > you've built from the source tree, so there doesn't seem to be a great
 > > deal of point in changing it.
 > 
 > Yes, I understand the need to be root for install. No problem.
 > But what about general editing of the source.
 > I would like to make it so *I* don't have to su.
 > It's very anoying to get into tweaking a source file, Go to save
 > and it pops up `Read Only`!
 > 
 > I know, su'ing first will solve that problem.. :)
 > 
 > > On Unix, the `proper` way is for configuration files to be owned by
 > > root - it's not a good idea to allow just anybody to change them!
 > 
 > I Agree! My question was/is about the Source tree!

FWIW, I do a "chgrp -R prog .; chmod -R g+w ." in /usr/src for every new
installation; "prog" is a group we created locally for those of us who like
to play with the source.

I've been doing this since v2.0; it simplifies applying ctm updates, and
I've not encountered any problems so far.
--
Rich Kuhns			rjk@grauel.com
PO Box 6249			Tel: (317)477-6000 x319
100 Sawmill Road
Lafayette, IN  47903




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