I am having problems with my CVS server setup . I get the following error when I run any cvs commands from a remote client:
 
CVS server: cannot open /root/.cvsignore: Permission denied
CVS [server aborted]: can't chdir(/root): Permission denied
 
With jCVS the "test" option returns successfully and I can create projects but I still get the first line of the error listed above. I have tried both jCVS and WinCVS clients and the same error occurs...must be my server configuration. I have no problems locally.
 
First,
 
Server OS: Linux 6.2
cvs server: 1.10.8 client/server
compile note: src/options.h ---> commented out CVS_BADROOT
 
Now, my inetd.conf file looks like this:
 
cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/opt/cvs/gtsdev pserver
 
the services file:
 
cvspserver 2401/tcp
 
cvs config file:
 
SystemAuth=no
 
I have a passwd file in $CVSROOT/CVSROOT that contains something like this:
 
developer:<password_crypted>:cvsuser
 
I created the passwd file with Apache's htpasswd and the users listed in the file are general users of the systems but the passwords are different. I have tested putting in the wrong password and it's authenticating correctly. No problem in connecting.
 
My best guess as to the cause to the problem is the setup of the cvsuser account. It just doesn't seem that the process is changing from user root to the cvsuser. However, when I add a project remotely and then check the directory created in $CVSROOT it's owner is cvsuser.cvsadmin...don't figure.
 
I bet if changed the root directory to have extended permissions I could get it to work...that's just way wrong! "Not going to do it ;)"
 
-Chris
 
 
 
 
 
 

Reply via email to