Hey All,
Could someone please help me understand how to configure the
permissions with cvs racl. I followed the instructions in the readme
file but nothing seems to work for me. Here's the proceedure I
followed (repeatedly)
I built the project using:
./configure
make
make install
Then I created a directory called '/cvs_repository' and then set the
variable CVSROOT in the .bashrc file to this directory.
I called the command 'cvs init' to setup the repository.
Then I created a user and group called 'cvsadm' and add myself (stef)
to the group. I then set CVSServerRunAsUser=cvsadm in the aclconfig.
I called the following commands:
chown cvsadm -R $CVSROOT
chgrp cvsadm -R $CVSROOT
chmod 2270 -R $CVSROOT
after that I ssh to the computer and I create a new project called
'helloworld' and import it to the cvs.
cvs racl stef:p -r ALL -d ALL
cvs racl ALL:r -r ALL -d ALL
cvs racl testuser1:wcd -d helloworld
cvs racl testuser2:n -d helloworld
but none of these commands seem to have any effect, in fact when I call
cvs racl -l -d helloworld
none of the permissions I set are displayed, only the default permission (p).
Also, no other uses e.g. testuser1, seem to be able to checkout
anything, even if I give then p or a permissions.
I guess I am doing something wrong or I missed a step.
If anyone can help please do,
Thanks,
Stefan
|