[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: CVS setup help

From: Rohit Peyyeti
Subject: Fw: CVS setup help
Date: Sun, 27 Jan 2002 14:59:03 +0530

Thanks Larry, but I am having problems
getting Read-Only access in CVS using

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:

- readroh

- rohit::readroh

rohit = Linux System User
readroh = CVS user

(full permissions set to world)

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

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. 

The repository directory permissions

Owner: rwx
Group: g+s (group owned)
Others: rx

How come the whole thing is failing?

Rohit Peyyeti

----- Original Message ----- 
From: "Larry Jones" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>
Sent: Sunday, January 27, 2002 1:58 AM
Subject: Re: CVS setup help

| Rohit Peyyeti writes:
| > 
| > Is there any better way to set this up? Also, I need read
| > only access to certain project directories for some of the
| > users. How is that possible?
| Set the permissions on the repository directories so that read-only
| users have read permission but not write permission.  Read/write users
| should have both read and write permission.  (Note that only directory
| permissions are important, not file permissions.)  You'll also have to
| set LockDir= in your CVSROOT/config file to put the lock files somewhere
| other than in the repository since read-only users still need to be able
| to create lock files.
| > I also tried setting up CVS in read-only mode by configuring
| > CVSREAD environment variable.
| CVSREAD does *not* put CVS in read-only mode -- it just set the
| permissions on checked out files to read-only to prevent *accidental*
| modifications.
| -Larry Jones
| I don't NEED to compromise my principles, because they don't have
| the slightest bearing on what happens to me anyway. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]