From nobody@FreeBSD.org  Fri Nov  7 19:28:38 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2C14C1065673
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  7 Nov 2008 19:28:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 017FF8FC22
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  7 Nov 2008 19:28:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mA7JSboD081381
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 7 Nov 2008 19:28:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mA7JSbAH081380;
	Fri, 7 Nov 2008 19:28:37 GMT
	(envelope-from nobody)
Message-Id: <200811071928.mA7JSbAH081380@www.freebsd.org>
Date: Fri, 7 Nov 2008 19:28:37 GMT
From: Code Monkey <codemonkey49@earthlink.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: CVS repo fails to check out because of permission denied error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         128683
>Category:       misc
>Synopsis:       CVS repo fails to check out because of permission denied error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 07 19:30:06 UTC 2008
>Closed-Date:    Sun Jan 04 00:20:48 UTC 2009
>Last-Modified:  Sun Jan 04 00:20:48 UTC 2009
>Originator:     Code Monkey
>Release:        5.4
>Organization:
>Environment:
Happens on any system
>Description:
Running the following on my side:

cvs -d freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs checkout -r RELENG_5_4 src

Error is:

cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied

Not a CVS expert but this sounds like a problem on the server, and it happens from linux client or freebsd.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: Code Monkey <codemonkey49@earthlink.net>
Cc: bug-followup@freebsd.org
Subject: Re: misc/128683: CVS repo fails to check out because of permission denied error
Date: Sat, 08 Nov 2008 03:52:44 +0200

 On Fri, 7 Nov 2008 19:28:37 GMT, Code Monkey <codemonkey49@earthlink.net> wrote:
 > Running the following on my side:
 >
 > cvs -d freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs checkout -r RELENG_5_4 src
 >
 > Error is:
 >
 > cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied
 >
 > Not a CVS expert but this sounds like a problem on the server, and it
 > happens from linux client or freebsd.
 
 Can you try checking out with the -R option?
 
     export CVSROOT='freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs'
     cvs -R co -r RELENG_5_4 src
 
 The -R option sets the client in `read only' mode, so that it can check
 out from CD-ROMs and other read-only media.  I don't remember off the
 top of my head if this works in `pserver' mode too, when the cvs(1)
 utility tried to connect to remote servers, but it's worth trying.
 
State-Changed-From-To: open->feedback 
State-Changed-By: keramida 
State-Changed-When: Mon Nov 10 06:46:14 UTC 2008 
State-Changed-Why:  
Awaiting submitter's feedback about the cvs -R option. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128683 

From: Jamax <codemonkey49@earthlink.net>
To: Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc: bug-followup@freebsd.org
Subject: Re: misc/128683: CVS repo fails to check out because of permission
 denied error
Date: Mon, 10 Nov 2008 13:03:08 -0500 (EST)

 Using newer cvs (on my linux workstation) adding -R says:
 
 cvs [checkout aborted]: Read-only repository feature unavailable with remote roots (cvsroot = freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs)
 
 In freebsd 5.4 vmware image adding -R does not give an error, but the command does not appear to be doing anything.  I let it run for ~30 minutes.  Presumably this is collecting files on the server to transmit?  When I tried this before filing the bug it would error out after ~5 minutes; this difference could have been due to load on the server though and not the -R option.
 
 Anyway thanks to freebsdmadeeasy.com I found out how to use cvsup to do this:
 
 1) in /usr/share/examples/cvsup/stable-supfile change "tag=RELENG_5" to "tag=RELENG_5_4"
 2) cvsup -L2 -g -h cvsup.freebsd.org /usr/share/examples/cvsup/stable-supfile
 
 That worked fine, so I am all set.  The cvs checkout problem may still be there (I could not confirm that -R worked), but maybe it is more trouble to fix than it's worth.  It seems like downloading an entire cvs tarball would probably take less resources than doing the CVS checkout...
 
 Thanks for your help.  I thought cvs checkout would be the easiest way to get the updated sources, since I did not know how to write a cvsup file (and am behind firewall so was trying to avoid punching a hole for cvsup).
 
 
 -----Original Message-----
 >From: Giorgos Keramidas <keramida@ceid.upatras.gr>
 >Sent: Nov 7, 2008 8:52 PM
 >To: Code Monkey <codemonkey49@earthlink.net>
 >Cc: bug-followup@freebsd.org
 >Subject: Re: misc/128683: CVS repo fails to check out because of permission denied error
 >
 >On Fri, 7 Nov 2008 19:28:37 GMT, Code Monkey <codemonkey49@earthlink.net> wrote:
 >> Running the following on my side:
 >>
 >> cvs -d freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs checkout -r RELENG_5_4 src
 >>
 >> Error is:
 >>
 >> cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied
 >>
 >> Not a CVS expert but this sounds like a problem on the server, and it
 >> happens from linux client or freebsd.
 >
 >Can you try checking out with the -R option?
 >
 >    export CVSROOT='freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs'
 >    cvs -R co -r RELENG_5_4 src
 >
 >The -R option sets the client in `read only' mode, so that it can check
 >out from CD-ROMs and other read-only media.  I don't remember off the
 >top of my head if this works in `pserver' mode too, when the cvs(1)
 >utility tried to connect to remote servers, but it's worth trying.
 >
 
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: vwe 
State-Changed-When: Sun Jan 4 00:20:06 UTC 2009 
State-Changed-Why:  
issue solved by using cvsup / csup 
on a side note, please remember FreeBSD 5.x has been EOL'd 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128683 
>Unformatted:
