[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: symbolically linked module root

From: Mark D. Baushke
Subject: Re: symbolically linked module root
Date: Thu, 30 Oct 2003 08:43:18 -0800

Hash: SHA1

Kevin Layer <address@hidden> writes:

> I want to give a contractor access to one module in my repository.
> Let's say I have this situation:
> cvsroot/
>   moda
>   modb
>   modc
>   ...
> Because I have a large number of checkouts of `modc', I can't just
> move it to a new repository.  I'm thinking of creating a new
> repository directory like this:
> cvsroot2/
>   CVSROOT -> ../cvsroot/CVSROOT
>   modc -> ../cvsroot/modc
> and having them use cvsroot2 as their repository.
> Is this safe?

Not really... cvs does not really understand symbolic links and is
potentially going to give you problems with locking the directories
in that manner. It might work as you have outlined if you are NOT
using the LockDir directive in CVSROOT/admin, but it is not clear
to me how you could stop the contractor from getting access to cvsroot/
in the first place.

> Is there a better way to do what I want to do?

a) Hire trustworthy contractors and give them full access to your

b) Use UNIX permissions such that he is in a group that may only
   read/write the modc tree.

c) Have someone else checkout sources for the contractor and then
   have the contractor submit patches to a designated set of users
   to have them commit the changes into the tree.

d) Move the modc module to a separate repository and let your own
   people share the pain of needing to use multiple repositories
   to do their own work.

        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]