From owner-freebsd-questions@FreeBSD.ORG Sun Jun 18 02:25:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A698816A47A for ; Sun, 18 Jun 2006 02:25:35 +0000 (UTC) (envelope-from dennyboy@cableone.net) Received: from S1.cableone.net (s1.cableone.net [24.116.0.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25ECF43D49 for ; Sun, 18 Jun 2006 02:25:35 +0000 (GMT) (envelope-from dennyboy@cableone.net) Received: from badboybox.cableone.net (unverified [69.92.6.58]) by S1.cableone.net (CableOne SMTP Service S1) with ESMTP id 63232849 for ; Sat, 17 Jun 2006 19:26:03 -0700 Date: Sat, 17 Jun 2006 21:25:27 -0500 (CDT) From: Denny White To: FreeBSD Questions In-Reply-To: <441wtngaa2.fsf@be-well.ilk.org> Message-ID: References: <441wtngaa2.fsf@be-well.ilk.org> X-GPG-PUBLIC_KEY: http//wwwkeys.nl.pgp.net X-GPG-FINGERPRINT: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-SpamDetect: *: 1.500000 Cures Baldness=1.5 X-NotAscii: charset=us-ascii; X-IP-stats: Incoming Last 1, First 40, in=34, out=0, spam=0 X-External-IP: 69.92.6.58 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Subject: Re: Cvsup into NFS mounted directory problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 02:25:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Denny White writes: > >> Over on my old windoze xp box, I've got a program called >> cvsnt. I wanted to see if I could update the source dir >> over there by mounting the dir here locally, then running >> cvsup to put everything there, before unmounting it. Then, >> use cvsnt for a local network source repository server. >> Cvsup does fine on the remotely mounted nfs dir until I >> get to this: >> >> Updater failed: Cannot install "/home/mydir/cvsdir/src/contrib/ >> libreadline/#cvs.cvsup-91834.13672" to >> "/home/mydir/cvsdir/src/contrib/libreadline/ChangeLog,v": >> Permission denied >> >> Command to mount the remote windows directory: >> mount -w -t nfs remotebox:cvsdir /home/mydir/cvsdir >> >> I've done everything with the local & remote dirs except put >> them on eBay. :-) Chmoded them to 777 & still get the same >> message. Wouldn't doubt if it's something very simple I'm >> just overlooking. I was wondering if maybe it has something >> to do with my cvsup usage & not the dir/file permissions. >> Here's the supfile being used: >> >> # >> *default host=cvsup17.us.FreeBSD.org >> *default base=/home/mydir/cvsdir >> *default prefix=/home/mydir/cvsdir >> *default release=cvs >> *default delete use-rel-suffix >> *default compress >> src-all >> ports-all tag=. >> doc-all tag=. >> www >> cvsroot-all >> # >> >> As can be seen above, the delete is pretty standard & what >> I use everywhere else locally: >> >> *default delete use-rel-suffix >> >> Thanks for any help, advice, new hair to replace what I've >> pulled out, etc. > Today Lowell Gilbert wrote: > Sorry; I don't have enough hair to spare. ;-) > > What may be happening here is that cvsup itself is trying to change > the permissions to match the repository it updates from. In that > case, problems from the underlying filesystem (which, I gather, > is ntfs, and doesn't support full privileges of NFS) might result in > errors. Maybe you could try setting the filesystem ownership to the > user you run cvsup as? Thanks for the reply. That was how I started it out to begin with. Uid's match, keys, everything. The user doing the cvs to the nfs share is doing it to a folder he owns on the winxp box. But, that being said, I've finally got cvs working from cygwin there, now. The only reason I can come up with for it not working properly before is, I didn't have rsa keys generated in my home dir on the winxp box. I generated the keys & got them around the lan into all the authorized_keys files in order to be able to do unattended rsync backups from my crontabs on each box. So now, the backups are working & so is cvs on windows. Miracles never cease! :-) Thanks again for answering, Lowell. GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (OpenBSD) iD8DBQFElLmdy0Ty5RZE55oRAow0AKDJ0P6IQ+lxPiqZ3YI63HMs47zBMACdEBWd +Mu6U9aSUPY0/GRQtLsI0N8= =kAwm -----END PGP SIGNATURE-----