info-cvs
[Top][All Lists]
Advanced

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

Setting up CVS for use with Pserver


From: Patrick Burleson
Subject: Setting up CVS for use with Pserver
Date: Sat, 04 May 2002 00:48:53 GMT

Hello all,
    I have read the docs about setting up pserver and the permissions needed
and all of that, but I don't see things working like they are documented.

I have xinetd 2.3.0 and cvs is configured as such:

service cvspserver
{
        port                = 2401
        socket_type         = stream
        protocol            = tcp
        wait                = no
        user                = root
        passenv             =
        server              = /usr/local/bin/cvs
        server_args         = --allow-root=/cvs pserver
}

/cvs is owned by cvsuser with the group of users. The permissions on the
directory are 775.

when I try to login as a user in the /cvs/CVSROOT/passwd file whois mapped
to local user (not cvsuser) I get the following error:

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

I am assuming I shouldn't be running the server as root, but maybe as the
cvsuser user, but how do I do the directory permissions in this case since
cvsuser surely won't be able to setuid to whatever user logs in. I have
multiple projects where I want users added the project's group and be able
to only read/write in their projects and be denide access for the other
projects. Basically, I want a user's access based on what groups they are
members of.

I know that isn't exactly clear, but anyone out there want to take a stab at
pointing me in the right direction? Docs or anything like that?

Thanks,
Patrick




reply via email to

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