LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-07-2009, 08:02 AM   #1
singh.lovelesh
LQ Newbie
 
Registered: Dec 2008
Posts: 6

Rep: Reputation: 0
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 server:cvs@server01:/usr/local/cvsroot login

giving same error.

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


Thanks,
Lovelesh
 
Old 09-08-2009, 12:43 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,561

Rep: Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580
Quote:
Originally Posted by singh.lovelesh View Post
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 server: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.
 
Old 11-23-2009, 11:20 AM   #3
rfelsburg
Member
 
Registered: Nov 2008
Posts: 52

Rep: Reputation: 18
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
 
Old 11-23-2009, 01:04 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,561

Rep: Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580Reputation: 4580
Quote:
Originally Posted by rfelsburg View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mount error 13 = Permission denied, when trying to access an smb share Zarniwoop79 Linux - Server 2 09-13-2009 07:59 AM
Apache 2 - RHEL4u5 - Permission denied: httpd: could not open error file vishwakumarbg Other *NIX 4 09-15-2008 03:36 PM
su cvs is giving .bashrc permission denied error prasad_ark Linux - Software 1 07-02-2008 06:13 AM
Stop anonymous CVSROOT checkout Whitman Linux - Software 0 10-08-2004 07:31 PM
CVS local repository - permission denied gandalf2041 Linux - Software 0 03-19-2004 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration