Larry:

rohit = system user
readroh = cvs user

I changed $CVSROOT/CVSROOT/passwd file. This is how
it has right now:

$CVSROOT/CVSROOT/passwd :
readroh::rohit

$CVSROOT/CVSROOT/readers :
readroh

In .bash_profile :
CVSROOT=":pserver:rohit@server:/usr/local/cvs-rep"

As usuall, I am logging to CVS by saying:
'cvs login' and enter by password. Then I say cvs checkout 
'cvs checkout CVSROOT'. All the CVSROOT files come in 
read+write mode. 

...Rohit


----- Original Message ----- 
From: "Larry Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 8:15 AM
Subject: Re: CVS setup help


> Rohit Peyyeti writes:
> > 
> > Thanks Larry, but I am having problems
> > getting Read-Only access in CVS using
> > pserver.
> > 
> > I created user called 'rohit' in system
> > and created respective entry in the 
> > CVSROOT/passed & CVSROOT/readers. There 
> > is no CVSROOT/writers file. Here are 
> > the entries:
> > 
> > CVSROOT/readers:
> > - readroh
> > 
> > CVSROOT/passwd:
> > - rohit::readroh
> 
> That's backwards -- that line says that the CVS user "rohit" should run
> as the system user "readroh".
> 
> > Is there any special way for creating
> > CVS user? Or just adding the entry in
> > the passwd file enough without having
> > to create another system user called
> > 'readroh'?
> 
> Simply adding them to the passwd file is sufficient, as long as you map
> them to a system user.
> 
> > When I checkout files after executing
> > 'cvs login', I get all the files wiht
> > rwx permissions. I can edit the files
> > and commit them too, which should not
> > be happening. 
> 
> Which user did you log in as, readroh or rohit?  The readers file needs
> to list CVS users, not system users.  You do have the readers and passwd
> files in $CVSROOT/CVSROOT and not just $CVSROOT don't you?
> 
> -Larry Jones
> 
> I think my cerebellum just fused. -- Calvin


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to