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..
:-))
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.