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

Setting up read-write access for local CVS



I have installed cvs on my machine and want to use it so that I as a
user can check in and out files. 

I put the repository at /var/cvs and as root I ran cvs init.

When I as a user ran:
cvs import -m "Created directory structure" Ada95/Touch obliord start

I got:

cvs import: Sorry, you don't have read/write access to the history file
cvs [import aborted]: /var/cvs/CVSROOT/history: Ikke tilgang

(Ikke tilgang = No access)

This was of course not surprisingly. My question is how do one setup cvs
so that one gets read write access?

Should one:

1. Create a cvs group and give this group ownership with r/w to the
   repository and add users to this group?
2. Use the setuid bit on cvs?
3. Other solution (which?)

Thanks in advance.

-- 
Preben Randhol -- [randhol@pvv.org] -- <http://www.pvv.org/~randhol/>
+---+ "It is assumed that the reader is reasonably  familiar with the
| ? |  dpkg System Administrators' manual. Unfortunately  this manual
+---+  does not yet exist."                -- Debian Packaging Manual



Reply to: