Jack,

Thanks for the feedback.  I'm still have some questions : )

>I would suggest not using root as your "user". My cvsserver looks like
>this...
>
>service cvspserver
>{
>        disable         = no
>        socket_type     = stream
>        wait            = no
>        user            = cvs
>        group           = cvs
>        log_type        = FILE /var/log/cvspserver
>        protocol        = tcp
>        env             = '$HOME=/home/cvsroot'
>        log_on_failure  += USERID
>        port            = 2401
>        server          = /usr/bin/cvs
>        server_args     = -f --allow-root=/home/cvsroot pserver
>}

I've created a user and group "cvs" and I've modified cvspserver to follow
your example.  However, what I'm trying to do is slightly different in that
the homedir for user "cvs" is /home/cvs but I want to put a repository at
/home/foo that is usable by anyone in the "foo" group.  Thus /home/foo is
owned by user "cvs" and group "foo".  "cvs" is a member of "foo".  Here is my
cvspserver:

service cvspserver
{
        disable = no
        socket_type = stream
        wait = no
        user = cvs
        group = cvs
        log_type = FILE /var/log/cvspserver
        protocol = tcp
        env = '$HOME=/home/cvs'
        log_on_failure += USERID
        port = 2401
        server = /usr/bin/cvs
        server_args = -f --allow-root=/home/foo pserver
}

The problem now is when I try to do a checkout I get the following error:
"setgid failed: Operation not permitted".

Everything seems to work fine when the user defined in cvspserver is "root",
so I'm guessing that the user "cvs" is trying to do something it doesn't have
privileges to do.  I wonder what it is that's going on?

Any ideas on what permissions I need to change etc.?  

Thanks,
Michael.



_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to