From owner-freebsd-questions Fri Jun 4 15:40:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp4.erols.com (smtp4.erols.com [207.172.3.237]) by hub.freebsd.org (Postfix) with ESMTP id A29E8154A0 for ; Fri, 4 Jun 1999 15:40:20 -0700 (PDT) (envelope-from jobaldwi@vt.edu) Received: from john.baldwin.cx (207-172-143-64.s1.as1.hgt.md.dialup.rcn.com [207.172.143.64]) by smtp4.erols.com (8.8.8/smtp-v1) with ESMTP id SAA24228; Fri, 4 Jun 1999 18:40:14 -0400 (EDT) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 04 Jun 1999 18:40:30 -0400 (EDT) From: John Baldwin To: Doug White Subject: Re: probably simple 'cvs' question... Cc: freebsd-questions@FreeBSD.ORG, John Baldwin Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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