Subject: Re: How do you manage sources?
To: NetBSD users <netbsd-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 05/27/2002 22:05:13
On Mon, May 27, 2002 at 09:39:59PM +0200, Julio Merino wrote:
> Hi all
> 
> this is a personal question, mainly for people who changes sources ;)
> 
> I previously had /usr/src owned by juli:juli, my own user/group, so I
> could change whatever I want at any moment. Yesterday I switched it to
> root:wheel to try a Unprived build, which worked fine and now I'm
> thinking the best way to "manage" those sources (pkgsrc too) so users
> can work on them.
> 
> How do you manage their permissions? Maybe with a group ("src") which
> has read/write on them? Or... simply owned by the user you will use
> to work on them?

Yes, a group seems like the best way

> 
> Maybe mount_union? Or any other way to work on them cleanly?
> 
> The problem touching original sources is that I can't keep copies of
> the original ones easily.

Looks like you want to get sources from anoncvs then :)
once you have checked out your source tree, you can see diffs between you
file copies and the original ones, or restore the original ones.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--