info-cvs
[Top][All Lists]
Advanced

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

RE: CVS Pserver with multiple repositories?


From: Diego.andrade
Subject: RE: CVS Pserver with multiple repositories?
Date: Tue, 23 Dec 2003 10:36:18 -0200

It works fine in the default port! No other port have to be open to serve
another repository. 


--
Diego Ribeiro de Andrade
 


--------- Mensagem Original --------
De: Gurpreet Singh SCM <address@hidden>
Para: address@hidden <address@hidden>
Cópia: 'Diego Ribeiro de Andrade' <address@hidden>, 'INFO
CVS' <address@hidden>
Assunto: RE: CVS Pserver with multiple repositories?
Data: 23/12/03 08:01

> 
> 
> 
> Message
> 
> 
> 
> 
> 
> Hi
> &nbsp;
> Will 
> this work fine on the same port 2401.
> or CVS 
> needs to choose different port numbers for the other 
> (mutilple)&nbsp;repositories ...
> &nbsp;
> Regards
> Gurpreet S
> &nbsp;
> 
>   -----Original Message-----From: Gagneet Singh 
>   [mailto:address@hidden: Tuesday, December 23, 2003 10:40 
>   AMTo: 'Diego Ribeiro de Andrade'; 'INFO CVS'Subject: RE: 
>   CVS Pserver with multiple repositories?
>   Hi!
>   &nbsp;
>   What you require is to define the server args string 
>   as:
>   &nbsp;
>   server_args = -f --allow-root=/cvs/rep/casnav
--allow-root=/cvs/repo/proj2 --allow-root=/cvs/repo/proj2 
>   pserver
>   &nbsp;
>   And also create the required repositories for all the three projects. 
>   Also, you will have to create separate groups. 
>   &nbsp;
>   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.
>   &nbsp;
>   Hope this helps. 
>   &nbsp;
>   Gagneet
>   &nbsp;
>   PS: Your English is good so don't worry about it.. 
>   :-))
>   &nbsp;
>   
>     
>     -----Original Message-----From: 
>     address@hidden 
>     [mailto:address@hidden On Behalf Of 
>     Diego Ribeiro de AndradeSent: Monday, 22 December, 2003 21:08 
>     PMTo: INFO CVSSubject: 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&nbsp;I edited cvspserver arquive in

>     /etc/xinetd.d... It looks like this...
>     &nbsp;
>     service cvspserver
>     {
>     &nbsp;port = 2401
>     &nbsp;disable = no
>     &nbsp;socket_type = stream
>     &nbsp;protocol = tcp
>     &nbsp;wait = no
>     &nbsp;user = root
>     &nbsp;passenv = PATH
>     &nbsp;server = 
> /usr/bin/cvs
>     &nbsp;server_args = -f 
>     --allow-root=/cvs/rep/casnav pserver
>     }
>     &nbsp;
>     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&nbsp;and it let me set permissions on the

>     modules with some commands...
>     &nbsp;
>     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.
>     &nbsp;
>     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! 
>     
>     &nbsp;
>     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.
>     &nbsp;
>     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.
>     &nbsp;
>     I thanks you!
>     Sorry about, I promess I will have 
>     english classes next year.
>     &nbsp;
>     Diego. Rio de Janeiro. 
>     Brazil.
> 

________________________________________________
Enviado usando Smart Tech Webmail System 0.0.2






reply via email to

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