From owner-freebsd-questions Tue Jun 19 4:14: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 9A4D037B406 for ; Tue, 19 Jun 2001 04:14:00 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 15CJSJ-000DpQ-00; Tue, 19 Jun 2001 12:13:59 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f5JBDvt70108; Tue, 19 Jun 2001 12:13:57 +0100 (BST) (envelope-from jcm) Date: Tue, 19 Jun 2001 12:13:56 +0100 From: j mckitrick To: Giorgos Keramidas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: best permissions for local CVS tree? Message-ID: <20010619121356.A70030@dogma.freebsd-uk.eu.org> References: <20010616221534.A93020@dogma.freebsd-uk.eu.org> <20010617031821.A2091@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20010617031821.A2091@hades.hell.gr>; from keramida@ceid.upatras.gr on Sun, Jun 17, 2001 at 03:18:23AM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG So, do you login as ncvs when you want to update sources? Also, when i run cvs, it complains about being run anywhere but /usr. How do you get it to run in /usr/src? | I have done `adduser ncvs' and I use cvs in read-only mode to checkout | my /usr/src and /usr/ports and whatever from it. All the files in | /home/ncvs are under CVSup's control, and I just use: | | # cd /usr/src | # cvs -R -d /home/ncvs update -P -A -d | | to update my sources :-) The trick here is to use -R option, to tell | cvs that it should not attempt to write anything in the repository, | since it's read-only. [ Well, for root, it actually isn't read-only, | but I also use the same repository from my normal 'charon' user, and | the -R option has saved me a lot of trouble.] | | -giorgos Jonathon -- "It is through will alone I set my mind in motion...." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message