[Top][All Lists]
[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
>
> Will
> this work fine on the same port 2401.
> or CVS
> needs to choose different port numbers for the other
> (mutilple) repositories ...
>
> Regards
> Gurpreet S
>
>
> -----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!
>
> 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.
>
> Gagneet
>
> 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 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 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.
>
________________________________________________
Enviado usando Smart Tech Webmail System 0.0.2