On Sat, 2003-08-30 at 11:07, michael white wrote:
> 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".

Look above where it says group = cvs...
You'll need to change that to group = foo


-- 
Jack Morgan                                     The Zynot Foundation
pub  1024D/620F545F 2002-06-18 Jack Morgan <[EMAIL PROTECTED]>
Key fingerprint = B343 94EB 0658 E19B D91D  7EA5 15E1 FD24 620F 545F

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to