Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 1999 18:40:30 -0400 (EDT)
From:      John Baldwin <jobaldwi@vt.edu>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG, John Baldwin <jobaldwi@smtp4.erols.com>
Subject:   Re: probably simple 'cvs' question...
Message-ID:  <XFMail.990604184030.jobaldwi@vt.edu>
In-Reply-To: <Pine.BSF.4.03.9906041256190.1345-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04-Jun-99 Doug White wrote:
> On Wed, 2 Jun 1999, John Baldwin wrote:
> 
>> This is probably a simple question, but I'm tired of pulling my hair out.
>> 
>> I keep the web pages for my server in a CVS repository,  I do all my work on
>> my
>> workstation however, so I have had my copy checkout'd remotely on my
>> workstation.  IOW, I did:
>> 
>> > cd
>> > mkdir work/web/server
>> > cd work/web/server
>> > cvs -d server:/usr/local/www/cvs checkout root
>> 
>> where server is the hostname of my server, /usr/local/www/cvs is the home of
>> the repository, and root is a module that contains the root directory.  This
>> worked great.  Then, last weekend, I upgraded to 3.2-stable from May 15,
>> including the move to cvs 1.10.  After this, I can no longer do any cvs
>> operations on the workstation because of "Permission denied" errors.  They
>> do
>> go away if I run cvs as root, but I shouldn't have to do that.  For example:
> 
> This is a simple permissions problem.  Chown/chmod your CVS repository to
> something appropriate.  I create a 'cvs' group and run my updates with a
> 002 umask.

I think I forgot to mention it earlier, but I can do cvs operations
(checkout, update, etc.) succesfully as myself on the server.  It's only when I
do them remotely that I get the error, and yes, the usernames are the same, so
that the 'cvs server' that rsh starts up is running as the same user that I am
when I do the operations on the server.  Also, I have chown'd the entire tree
to myself and tried it and no-go.  Thanks for the suggestion though.  I already
have a www group that owns the repository own server that both root and myself
are in on the server.  Just for kicks, I duplicated that group on my
workstation (with the same gid) and made myself a member, but no go.

> Doug White                               
> Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
> http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org

---

John Baldwin <jobaldwi@vt.edu> -- http://members.freedomnet.com/~jbaldwin/
PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990604184030.jobaldwi>