info-cvs
[Top][All Lists]
Advanced

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

Re: looking for an in-depth generic howto on cvs over ssh


From: Todd Denniston
Subject: Re: looking for an in-depth generic howto on cvs over ssh
Date: Tue, 15 Nov 2005 09:09:27 -0500

Please do not send HTML to an email list.

Holiday spewed in HTML:
> But in this case I was talking about a 
> local session being a session on the 
> server machine whose CVSROOT is 
> /usr/local/cvsroot.

> This is still true. Now I can checkout to a 
> working sandbox remotely over ssh (and can 
> still checkout remotely in a ssh session to the
> server). But standing right there in the server 
> room, in a local session, I cannot.

> Could it be that when I log in remotely I am 
> logging in using the cvs user? 

Yes, the user matters to the OS's permission system.

> I could probably 
> fix this by putting my stephen user into
> the cvs passwd file,

No In local mode (i.e., CVSROOT is /usr/local/cvsroot) cvs passwd is not
consulted.
I think you might need to read the File permissions section of the manual
[1]. all the users who need write access to the repository have to have
write access to each directory in the repository. all users who need read
only access to the repository need read access to each directory in the
repository, and need write access to wherever LockDir (see CVSROOT/config
[2]) is set.

If you have not already I would suggest reading sections 2-4, 10, 11, and
appendix C of the manual[3], as 

>  or perhaps changing my 
> CVSROOT on the server to use 
> cvs@/usr/local/cvsroot 

Uh, NO.

(you happen to be using a 1.12.x version so lets use that manual)
[1] http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_2.html#SEC13
[2] http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_18.html#SEC207
[3] http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs.html 
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter




reply via email to

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