[Top][All Lists]

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

RE: CVS Pserver with multiple repositories?

From: Gagneet Singh
Subject: RE: CVS Pserver with multiple repositories?
Date: Tue, 23 Dec 2003 18:36:23 +0530

This will work for the 2401 port. You are not required to supply different ports for different repositories. Only the permissions to the repositories need to be checked up and rectified, according to your needs. Also do not forget to create the 'cvsadmin' group which will give access to the CVS ADMIN commands to be run  either from the CVS command line or the CVS GUI.
-----Original Message-----
From: Gurpreet Singh (SCM) [mailto:address@hidden
Sent: Tuesday, 23 December, 2003 14:09 PM
To: address@hidden
Cc: 'Diego Ribeiro de Andrade'; 'INFO CVS'
Subject: RE: CVS Pserver with multiple repositories?

Will this work fine on the same port 2401.
or CVS needs to choose different port numbers for the other (mutilple) repositories ...
Gurpreet S
-----Original Message-----
From: Gagneet Singh [mailto:address@hidden
Sent: Tuesday, December 23, 2003 10:40 AM
To: 'Diego Ribeiro de Andrade'; 'INFO CVS'
Subject: RE: CVS Pserver with multiple repositories?

What you require is to define the server args string as:
server_args = -f --allow-root=/cvs/rep/casnav --allow-root=/cvs/repo/proj2 --allow-root=/cvs/repo/proj2 pserver
And also create the required repositories for all the three projects. Also, you will have to create separate groups.
The same can be done with your current setup also, but then the top level repository will have to have permission for all groups or rather anybody to access it. Thus, taking security in consideration, you need to have three different repositories with the permissions only for users of the group for whom that repository is meant for. You can thus set the permissions to 2770 for these three directories and put the directories with the username of the Project Leader or the Project Manager, so that only he can access the CVSROOT module for administrative purposes.
Hope this helps.
PS: Your English is good so don't worry about it.. :-))
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Diego Ribeiro de Andrade
Sent: Monday, 22 December, 2003 21:08 PM
Subject: CVS Pserver with multiple repositories?

I have implemented a CVS Pserver in a Red Hat Machine to serve to 3 projects. I installed CVS 1.12.5 on a RED HAT 9 Machine. To make the service RUN I edited cvspserver arquive in /etc/xinetd.d... It looks like this...
service cvspserver
 port = 2401
 disable = no
 socket_type = stream
 protocol = tcp
 wait = no
 user = root
 passenv = PATH
 server = /usr/bin/cvs
 server_args = -f --allow-root=/cvs/rep/casnav pserver
I edited config to System-auth=Yes so I connect remote with a system user of the server. I installed the "cvspermissions 0.3" Scripts and it let me set permissions on the modules with some commands...
But the 3 projects are hosted in a Singe repository! So... all people in the 3 projects can see all files in all projects... cvspermissions can only manage tag and commit permissions per modules to restricted users... but the read rights are managed by repository.
I could set the permissions by filesystem access ... but I dont know if its the best way. Im new in the Linux world... so I every post in this list affraid of being dumb!
I think to in create others files under /etc/xinetd.d and run a repository in each port... but it not seems right for me.
What I like to do is... multiple repositories, That I can manage with cvspermissions and access with pserver. It wold be Must! If someone helpme to take the best or right way... I thanks.
I thanks you!
Sorry about, I promess I will have english classes next year.
Diego. Rio de Janeiro. Brazil.

reply via email to

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