Re: "cvs add" using the WinCVS 2.0.2.4 console

"Chris" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
Scratch all that!  I knew it was my lack of experience in the Linux 
world.  I neglected to create a CVS 'users' group, set that group to 
the repository and grant the appropriate priveleges.  

Everything seems to be working great!

Thank you!


--- In [email protected], "Chris" <clemieux@...> wrote:
>
> First off, I want to thank you for such a detailed followup.  But 
I 
> do still seem to be running into some issues:
> 
> > However, if you go to a command prompt on your XP machine you 
can 
> do
> > this:
> > 
> > c:\>mkdir c:\projects
> > c:\>cd c:\projects
> > c:\projects>set CVSROOT=:sspi:cvsserver:/repo
> > c:\projects>cvs co .
> > 
> > This will check out *everything* from the server into 
c:\projects,
> > which is now converted to a "sandbox". Of course you will have to
> > enter the correct CVSROOT string depending on your server 
> settings...
> 
> This seems to be a bit of a catch-22.  If I cannot check anything 
in 
> as a result of this particular configuration missing in my 
sandbox, 
> how can I checkout anything?
> 
> In any case, I did as you suggested, but I'm getting these 
> Permission denied errors (I'm a bit of a Linux newbie too...so 
bear 
> with me.. :-)  )
> 
> cvs checkout: cwd=D:\data\cvsroot ,current=D:\data\cvsroot
> ? cvs_test
> cvs checkout: failed to create lock directory for 
> `/var/lib/cvsd/cvsroot/CVSROOT
> ' (/var/lib/cvsd/cvsroot/CVSROOT/#cvs.history.lock): Permission 
> denied
> cvs checkout: failed to obtain history lock in repository 
> `/var/lib/cvsd/cvsroot
> '
> cvs checkout: Updating .
> cvs checkout: failed to create lock directory for 
> `/var/lib/cvsd/cvsroot' (/var/
> lib/cvsd/cvsroot/#cvs.lock): Permission denied
> cvs checkout: failed to obtain dir lock in repository 
> `/var/lib/cvsd/cvsroot'
> cvs [checkout aborted]: read lock failed - giving up
> 
> Now, for the heck of it, I went in and basically granted every 
> permission under the sun to these directories (for security 
reasons, 
> probably NOT the best idea), but still no luck.
>  
> > After this you will have the following directories there:
> > c:\projects
> >   |--CVS
> >   |--CVSROOT (with the cvs server administrative files)
> >       |--CVS
> > 
> > Both CVS subdirs will contain at least the files:
> > Root
> > Entries
> > Repository
> > 
> > This is where cvs keeps the data used for "normal" cvs commands 
> like
> > cvs add.
> 
> Yes, I'm aware of these directories and their contents..just 
haven't 
> gotten to that point yet.  ;-)
> 
> Thanks much!
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.