Date: Mon, 19 Oct 1998 15:26:44 -0700 From: Mike Smith <mike@smith.net.au> To: Christopher Masto <chris@netmonger.net> Cc: freebsd-current@FreeBSD.ORG Subject: Re: cvsup and file permissions Message-ID: <199810192226.PAA01775@dingo.cdrom.com> In-Reply-To: Your message of "Mon, 19 Oct 1998 18:05:08 EDT." <19981019180508.A26343@netmonger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. You need to tell the server side to use readonly mode; you can probably do this if you can set the CVS options on the server side eg. by forwarding your environment across and using the CVS options variable. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810192226.PAA01775>
