Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2004 17:21:07 -0700 (PDT)
From:      "Richard Lynch" <ceo@l-i-e.com>
To:        "Kenneth A. Bond" <fhb_1969@yahoo.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: CVS CO Error
Message-ID:  <4340.67.167.52.21.1095121267.squirrel@www.l-i-e.com>
In-Reply-To: <20040913210226.54466.qmail@web53401.mail.yahoo.com>
References:  <20040913210226.54466.qmail@web53401.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kenneth A. Bond wrote:
> I am trying to update my source using CVS, as CVSup is not an option in my
> current environment. I am running FreeBSD 4.10.
> Below are the commands that I am entering in order to perform the update,
> but for some reason, I am getting the following error when attempting to
> update my source:
>
> lx1005# pwd
> /usr/src
> lx1005# setenv CVSROOT anoncvs@anoncvs.FreeBSD.org:/home/ncvs
> lx1005# cvs co -rRELENG_4_10 src
> cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags:
> Permission denied
> lx1005# whoami
> root
>
> These commands show that I am in the /usr/src directory (which is where I
> should be), and that I am the root user.
> I was informed by another user that this was a server error, but I can't
> seem to get around it no matter which anoncvs server I use.

Just for kicks, try these things:

#1:
Perhaps you're having trouble because 'co' is running into pre-existing
directories/files.
mkdir /test
cd /test
cvs co -rRELENG_4_10 src .
The . should force the source into /test (where you are) I believe.

#2:
Who or what is /home/ncvs???
Is that being set somewhere in your root login?
Or in your /root/.cvsrc?
Surely doing a 'co' should not write anything on the anonymous server...
On your local machine, go ahead and create /home/ncvs/ and chmod 777 it.
Then try again.

#3:
Aha!
Do you have a .cvsrc file in your /root directory?
Does it automagically add flags to 'co' to make you put a 'watch' on files
you check out?
Or perhaps force 'co' to always check out with some kind of exclusive lock
on them?
Or some other funky flags getting passed to 'co' via /root/.cvsrc?
Any of these things might be real handy in your day-to-day usage of CVS
within your work-place or personal setup, but would most likely not be
conducive to anonymous access of BSD's CVS servers.
I think all of those flags have some kind of over-ride to turn them back
OFF from the command line, so you won't need to fargle your .cvsrc -- "cvs
help co" should tell you what flags to add to over-ride the existing
flags.

-- 
Like Music?
http://l-i-e.com/artists.htm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4340.67.167.52.21.1095121267.squirrel>