LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   CVS Access error: cannot open /usr/local/cvsroot/CVSROOT/config: Permission denied (https://www.linuxquestions.org/questions/linux-server-73/cvs-access-error-cannot-open-usr-local-cvsroot-cvsroot-config-permission-denied-753285/)

singh.lovelesh 09-07-2009 07:02 AM

CVS Access error: cannot open /usr/local/cvsroot/CVSROOT/config: Permission denied
 
Hi,

I have installed and configured the CVS setup, but when i am accessing the CVS from client it is giving error message:

cvs [checkout aborted]: unrecognized auth response from server01: cvs pserver: cannot open /usr/local/cvsroot/CVSROOT/config: Permission denied


and also when i am trying to run : # cvs -d :pserver:cvs@server01:/usr/local/cvsroot login

giving same error.

anyone can help us.........


Thanks,
Lovelesh

TB0ne 09-08-2009 11:43 AM

Quote:

Originally Posted by singh.lovelesh (Post 3672927)
Hi,

I have installed and configured the CVS setup, but when i am accessing the CVS from client it is giving error message:

cvs [checkout aborted]: unrecognized auth response from server01: cvs pserver: cannot open /usr/local/cvsroot/CVSROOT/config: Permission denied


and also when i am trying to run : # cvs -d :pserver:cvs@server01:/usr/local/cvsroot login

giving same error.

anyone can help us.........


Thanks,
Lovelesh

The error is pretty clear. You don't have rights to that directory and/or file. Either change permissions on it, or try another user that has sufficient rights to access the file.

rfelsburg 11-23-2009 10:20 AM

Please, if you're going to answer a question, at least look into before commenting.

The reason has to do with selinux, the quick and dirty work around is to disabled selinux.

This can be done as a one off like: /usr/sbin/setenforce 0
or, permanently by editing /etc/selinux/config and changing the setting to disabled.

I'm not sure why selinux doesn't like cvs, but if you still want selinux enabled you'll have to figure out why selinux is blocking it.

-Rob

TB0ne 11-23-2009 12:04 PM

Quote:

Originally Posted by rfelsburg (Post 3766825)
Please, if you're going to answer a question, at least look into before commenting.

The reason has to do with selinux, the quick and dirty work around is to disabled selinux.

This can be done as a one off like: /usr/sbin/setenforce 0
or, permanently by editing /etc/selinux/config and changing the setting to disabled.

I'm not sure why selinux doesn't like cvs, but if you still want selinux enabled you'll have to figure out why selinux is blocking it.

-Rob

First, the OP didn't say if they had selinux installed/working or not. Second, the permissions error could be related to that, or otherwise, as I mentioned. The first solution is easier to check, but the OP didn't post back.

And third, please, if you're going to comment on a question, make it a current one, not one that's two months old and ignored.


All times are GMT -5. The time now is 07:28 AM.