From owner-freebsd-stable Tue Oct 30 20:15:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id A276937B401 for ; Tue, 30 Oct 2001 20:15:26 -0800 (PST) Received: from svzserv.kemerovo.su (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.9.3/8.9.3) with ESMTP id LAA63374; Wed, 31 Oct 2001 11:15:10 +0700 (KRAT) (envelope-from eugen@svzserv.kemerovo.su) Message-ID: <3BDF6CB8.2C712470@svzserv.kemerovo.su> Date: Wed, 31 Oct 2001 11:15:04 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: Cy Schubert - ITSD Open Systems Group Cc: stable@FreeBSD.ORG Subject: Re: FreeBSD CVS Repository References: <200110301358.f9UDwdY11162@cwsys.cwsent.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Cy Schubert - ITSD Open Systems Group wrote: > > In message <20011030105408.A49669@svzserv.kemerovo.su>, Eugene Grosbein > writes: > > Hi! > > > > I run local mirror of FreeBSD CVS Repository using cvsup-mirror > > and keep it in sync. Generally, I use it to update my servers > > but sometimes I dig in it for education purposes :) > > Definitly, I do not want to touch it in any way, so Repo is owned by root > > and I play with it as non-root. > > > > Yesterday I need to look what changes was done to pppd after import > > of 2.3.5 (it runs perfectly for me but is outdated and some > > features are missing, f.e. it demands to work on pty only). > > So I type: > > > > cvs -R -d /home/ncvs checkout -r ppp_2_3_5 src/usr.sbin/pppd > > > > And I get an error message: > > > > cvs [checkout aborted]: cannot write to /home/ncvs/CVSROOT/val-tags: > > Permission denied. > > > > It is right, I do not have rights to write to /home/ncvs and I definitly > > not want cvs do that. Why it insists to write to the Repo even > > it's in read-only mode? > > > > My system is FreeBSD 3.5-STABLE with stock cvs 1.10.7 > > How can I resolve this without giving users write access to the Repo? > > I remember it did not want such access some time ago. > > Only val-tags needs to be world writable in order to record tags used > for checkout, however if that is distasteful, you can add CVS tags to > this file yourself without giving others write privilege to the file, > e.g., > > ppp_2_3_5 y I wonder why CVS needs to write to the Repo at all when I used rean-only mode (-R)? What it the repo is mounted read-only itself? Consider using CD-ROM. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message