From owner-freebsd-questions@FreeBSD.ORG Tue Sep 14 00:21:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AEF816A4CE for ; Tue, 14 Sep 2004 00:21:03 +0000 (GMT) Received: from o2.hostbaby.com (o2.hostbaby.com [208.187.29.121]) by mx1.FreeBSD.org (Postfix) with SMTP id 1BFB443D3F for ; Tue, 14 Sep 2004 00:21:03 +0000 (GMT) (envelope-from ceo@l-i-e.com) Received: (qmail 99287 invoked by uid 1001); 14 Sep 2004 00:21:07 -0000 Received: from 67.167.52.21 (SquirrelMail authenticated user ceo@l-i-e.com); by www.l-i-e.com with HTTP; Mon, 13 Sep 2004 17:21:07 -0700 (PDT) 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> Date: Mon, 13 Sep 2004 17:21:07 -0700 (PDT) From: "Richard Lynch" To: "Kenneth A. Bond" User-Agent: Hostbaby Webmail X-Mailer: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: CVS CO Error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ceo@l-i-e.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2004 00:21:03 -0000 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