setting up cvs pserver

Lan Barnes lan.barnes at tenngroup.com
Sat Mar 25 17:34:07 PST 2000


Martin Baehr wrote:
> 
> hi,
> 
> i am trying to set up pserver for anon cvs.
> it is basicly working, checkout is fine,
> however the update command fails:
> 
> $ cvs up
> cvs [update aborted]: authorization failed: server tijuana.ontheverge.com rejected access
> 
> i am at a complete loss...
> 

Martin, I've been waiting for someone else to answer this, but
since no one has, let me offer this feeble input: Karl Fogel in
his excellent book on CVS says that 90% of problems result from
bad working copies, and 90% of the rest from bad permissions on
the repository.

This from Fogel:

"Repository problems are almost always caused by incorrect
directory and file permissions. If you suspect a problem may be
due to bad repository permissions, first find out the effective
repository user ID of the person who's having trouble. For all
local and most remote users, this is either their regular user
name or the user name they specified when they checked out the
working copy. If they're using the pserver method with user
aliasing . . . the effective user ID is the one on the right of
the CVSROOT/passwd file. Failure to discover this early on can
cause you to waste a lot of tome debugging the wrong thing."

Fogel's book devotes Chapter 4 to pserver, and much of the book
is on-line, although I don't have a URL.

HTH

-- 
Lan Barnes                lan.barnes at tenngroup.com
TennGroup, Inc            858-273-6677



More information about the KPLUG-List mailing list