From owner-freebsd-questions Tue Jul 2 11:29:20 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA28490 for questions-outgoing; Tue, 2 Jul 1996 11:29:20 -0700 (PDT) Received: from watson.grauel.com (watson.grauel.com [199.233.104.36]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA28484 for ; Tue, 2 Jul 1996 11:29:17 -0700 (PDT) Received: from sparcmill.grauel.com (sparcmill.grauel.com [199.233.104.34]) by watson.grauel.com (8.7.5/8.7.3) with SMTP id NAA07538; Tue, 2 Jul 1996 13:39:04 -0500 (EST) Received: by sparcmill.grauel.com (SMI-8.6/SMI-SVR4) id NAA21029; Tue, 2 Jul 1996 13:28:19 -0500 Date: Tue, 2 Jul 1996 13:28:19 -0500 From: rjk@sparcmill.grauel.com (Richard J Kuhns) Message-Id: <199607021828.NAA21029@sparcmill.grauel.com> To: tcg@ime.net Cc: questions@freebsd.org Subject: Re: src tree owners In-Reply-To: <31D9552A.2988@ime.net> References: <199607021144.LAA01066@jraynard.demon.co.uk> <31D9552A.2988@ime.net> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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