Cvsup into NFS mounted directory problem

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sat Jun 17 13:51:53 UTC 2006


Denny White <dennyboy at cableone.net> 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.

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?


More information about the freebsd-questions mailing list