CVS problem

From: Dave Clarke (pinggetridofthisbituino_at_operamail.com)
Date: 02/06/04


Date: Fri, 06 Feb 2004 20:36:11 +0000

I've just started to use CVS, but I'm having a problem setting it all up.

My code is on my laptop, and I've setup a repository on my desktop in /cvs,
both are conected by a normal network. I've fiddled with /etc/inetd.conf
appropriatly on the desktop.

I created a user cvs, and gave it ownership of the repository.

In the repository I've created a writer file just containing just my
username (without @laptop). I've also added a passwd file containing:

 me:password:cvs

The password was coppied from the /etc/shadow file.

Now I'm trying to enter my project. On the laptop I do:

 export CVSROOT=:pserver:me@desktop:/cvs

 cvs login

This all works. From the directory with my code in, I try:

 cvs import -b 0.0.1 -m "First entry to CVS" Serprot A1_0 Start

to which I get the reply:

 cvs server: cannot make path to /cvs/:Serprot: Permission denied

So I guess this is a permissions thing, but where? I've tried altering the
writers entry to me@laptop, but then I couldn't login to cvs at all.

I've looked all over info cvs, but it seems a bit light on how to add new
users.

Anyone any ideas?

-- 
Dave Clarke


Relevant Pages

  • Re: Setting up CVS repository and avoiding Selinux issues?
    ... I am trying to get my CVS repository setup. ... I got selinux permission errors. ... and about using selinux context with more ...
    (Fedora)
  • Re: cvs question
    ... I did a cvsup on www & ... you can use anon cvs and something like: ... % setenv CVSROOT:pserver:freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs ... CVSROOT is where the repository resides. ...
    (freebsd-questions)
  • Re: Version control
    ... because I am no longer the only person using it and the repository ... commandline combined with the GUI of Tortoise CVS. ... server, no stupid windows admin will mess with it (there is also a Windows ... Lately I have looked into Subversion, ...
    (borland.public.delphi.non-technical)
  • Re: Subversion? (Re: HEADS UP: Importing csup into base)
    ... someone will have to set up a real repository etc. before ... | the CVS repository. ... Like I wrote to Robert Olivier in a private e-mail I will check ... over to another vcs, be it Subversion, Mercurial or something else ...
    (freebsd-arch)
  • Re: Setting up a repository
    ... and want to have a repository. ... >> a team environment, I like the comfort of being able to go back to previous ... >> read is about getting connected up to some other machine running CVS. ... > I would highly recommend that you consider Subversion instead of CVS. ...
    (comp.sys.mac.programmer.help)