[Top][All Lists]

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

Re: Error: 'setgid failed: Operation not permitted' - CVS on Linux

From: Larry Jones
Subject: Re: Error: 'setgid failed: Operation not permitted' - CVS on Linux
Date: Mon, 16 Feb 2009 11:23:48 -0500

Gaurav Chhabra writes:
> I changed the user field to cvs. It was root here earlier. Our UNIX
> admin was not comfortable to allow it to run as root user.

You may want to explain to him that CVS runs as root only long enough to
authenticate the specific user.  Once it has authenticated the user, it
switches user and runs as that user from then on.  By not running as
root, you're forced to run all CVS operations as the same system user,
which means that you can't use normal system permissions to control
access to various parts of the repository.

Even better is to not use pserver at all, but use :ext: access with ssh

> Why is this happening? Do I have to add ':cvs' at the end of every new user
> entry in 'passwd' file?

Yes, if you insist on using pserver and not running it as root.
Larry Jones

Good gravy, whose side are you on?! -- Calvin

reply via email to

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