Date: Tue, 19 Jun 2001 12:13:56 +0100 From: j mckitrick <jcm@FreeBSD-uk.eu.org> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: best permissions for local CVS tree? Message-ID: <20010619121356.A70030@dogma.freebsd-uk.eu.org> In-Reply-To: <20010617031821.A2091@hades.hell.gr>; from keramida@ceid.upatras.gr on Sun, Jun 17, 2001 at 03:18:23AM %2B0300 References: <20010616221534.A93020@dogma.freebsd-uk.eu.org> <20010617031821.A2091@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010619121356.A70030>