Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 1998 18:05:08 -0400
From:      Christopher Masto <chris@netmonger.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: cvsup and file permissions
Message-ID:  <19981019180508.A26343@netmonger.net>
In-Reply-To: <199810160028.RAA02305@dingo.cdrom.com>; from Mike Smith on Thu, Oct 15, 1998 at 05:28:51PM -0700
References:  <19981015194840.A16439@netmonger.net> <199810160028.RAA02305@dingo.cdrom.com>

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.

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



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