info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

my problem: cannot open /root/.cvsignore: Permission Denied


From: Ryan Grow
Subject: my problem: cannot open /root/.cvsignore: Permission Denied
Date: Fri, 26 Jan 2001 08:28:51 -0700

I have installed cvspserver on a Redhat linux 7.0 machine and I am running
WinCVS client from the command line
on Windows 2000. The version of CVS I installed on Linux is:
cvs-1.11-1.i386. 

I can succesfully use the cvs commands to create and checkout projects when
I run them locally on the linux box. 
However, I have problems when I run them through the cvspserver from a
Windows 2000 client.

I believe that I have the pserver configured correctly because I
am able to log in fine with the following command: (note, I use different
username, hostname, and projectname
than included in this message).

cvs -d :pserver:<myusername>@<myhost>:/usr/local/cvsroot login

However, when I attempt to check out a project with the following command:

cvs -d :pserver:<myusername>@<myhost>:/usr/local/cvsroot checkout
<projectname>

I get the following error:
cvs server: cannot open /root/.cvsignore: Permission denied
cvs [server aborted]: can't chdir(/root): Permission denied

Why does it appear to be trying to access root's home directory, when I am
specifiying the
root directory in the -d argument?

I have set up pserver with a cvspserver file in the xinetd.d directory with
the following entry:


# default: on
# description: The cvspserver is the server that allows remote access to the
#              cvs repository.
#
service cvspserver
{
        flags                   = REUSE
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        log_on_success          += USERID
        log_on_failure          += USERID
        server                  = /usr/bin/cvs
        server_args             = -f --allow-root=/usr/local/cvsroot pserver
}

Any help would be appreciated.

Thanks,

Ryan Grow



reply via email to

[Prev in Thread] Current Thread [Next in Thread]