CVS on Windows
-
I'm trying to set up source control for an open source project[^] and after much struggling have managed to get CVS working, however, it only works for my initial account. What I would like is to myself as the administrator (this bit works), a repository read-only user for anyone to get read access to the source and then a series of read-write users for people contributing to the project. I am running CVSNT on a Windows Server and have a Windows account with full access to relevant area of the file system. I also have two other Windows accounts, one with read-only access to the repository and one with read-write. I have used cvs passwd -r -a to create several users and added the guest user I created to the file 'readers' in CVSROOT to make it a read-only user, but this does not work. Any users that I create become read-write users. Does anyone know what I need to do to set up access to the repository?
Derek Lakin
Providing instant integrated access to an online repository of .NET components from Visual Studio.NET and #Develop.
-
I'm trying to set up source control for an open source project[^] and after much struggling have managed to get CVS working, however, it only works for my initial account. What I would like is to myself as the administrator (this bit works), a repository read-only user for anyone to get read access to the source and then a series of read-write users for people contributing to the project. I am running CVSNT on a Windows Server and have a Windows account with full access to relevant area of the file system. I also have two other Windows accounts, one with read-only access to the repository and one with read-write. I have used cvs passwd -r -a to create several users and added the guest user I created to the file 'readers' in CVSROOT to make it a read-only user, but this does not work. Any users that I create become read-write users. Does anyone know what I need to do to set up access to the repository?
Derek Lakin
Providing instant integrated access to an online repository of .NET components from Visual Studio.NET and #Develop.
Sounds like you're trying to set up anonymous read-only access, via pserver? Probably the easiest way to go would be to create a new user (a real user account on your box, not just a CVS user) or a group, then change the permissions on the CVS repository to disallow write access for that user/group. Then, you can add a user called "anonymous" that has a blank password, and is mapped to the restricted user via the
-u
parameter tocvs passwd
. I haven't set up an anonymous pserver in ages, so I'm probably missing a minor detail. - Mike -
Sounds like you're trying to set up anonymous read-only access, via pserver? Probably the easiest way to go would be to create a new user (a real user account on your box, not just a CVS user) or a group, then change the permissions on the CVS repository to disallow write access for that user/group. Then, you can add a user called "anonymous" that has a blank password, and is mapped to the restricted user via the
-u
parameter tocvs passwd
. I haven't set up an anonymous pserver in ages, so I'm probably missing a minor detail. - MikeThere is no
-u
parameter for thecvs passwd
command :confused: I'd be grateful if you could refresh your memory on anonymous pserver access and le me know how do it :-D
Derek Lakin
Providing instant integrated access to an online repository of .NET components from Visual Studio.NET and #Develop.
Personal musings on life, the universe and everything as well as commentary on my software & digital graphics life.