From owner-freebsd-current Mon Oct 19 15:05:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24929 for freebsd-current-outgoing; Mon, 19 Oct 1998 15:05:41 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24924 for ; Mon, 19 Oct 1998 15:05:39 -0700 (PDT) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id SAA27896; Mon, 19 Oct 1998 18:05:08 -0400 (EDT) Message-ID: <19981019180508.A26343@netmonger.net> Date: Mon, 19 Oct 1998 18:05:08 -0400 From: Christopher Masto To: freebsd-current@FreeBSD.ORG Subject: Re: cvsup and file permissions Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <19981015194840.A16439@netmonger.net> <199810160028.RAA02305@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810160028.RAA02305@dingo.cdrom.com>; from Mike Smith on Thu, Oct 15, 1998 at 05:28:51PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 15, 1998 at 05:28:51PM -0700, Mike Smith wrote: > > This is something I've kind of been ignoring for a while, but now that > > I'm tracking current/BETA on a couple more machines, I'd like to solve > > it. I don't see anything obvious in the manpage. > > > > Basically, I maintain one copy of the CVS tree on our big server with > > cvsup, and use remote CVS+ssh to check stuff out onto other machines. > > Because CVS needs write access, I have set up a group for the users > > that have permission to do this sort of thing. The problem is that cvsup > > keeps taking the group permissions away when it updates the repository. > > Use the -R option to cvs when checking out. I've gotten around to trying this and it doesn't actually work.. chris@lion-around:/tmp/cvstest$ export CVS_RSH=ssh chris@lion-around:/tmp/cvstest$ cvs -R -d :ext:chris@cheddar:/usr/cvs/freebsd checkout src/tools cvs server: Updating src/tools cvs server: failed to create lock directory in repository `/usr/cvs/freebsd/src/tools': Permission denied cvs server: failed to obtain dir lock in repository `/usr/cvs/freebsd/src/tools' cvs [server aborted]: read lock failed - giving up It does work if I log on to the repository machine and don't use remote CVS. Regardless, it would be nice to have a way to tell cvsup not to sync permissions. -- Christopher Masto Director of Operations S NetMonger Communications chris@netmonger.net info@netmonger.net SSS http://www.netmonger.net \_/ Appeasement, said Winston Churchill, consists of being nice to a crocodile in the hope that he will eat you last. At the moment, the biggest crocodile in the world is Microsoft, and everybody is busy sucking up to it. - JOHN NAUGHTON, the London Observer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message