Skip to main content.

2006-Oct-09

When attempting to checkout from a local cvs directory with:
cvs -d /a/cvsroot checkout pkgsrc
cvs complained:
cvs checkout: Updating pkgsrc
cvs checkout: failed to create lock directory for `/a/cvsroot/pkgsrc'
(/a/cvsroot/pkgsrc/#cvs.lock): Permission denied
cvs checkout: failed to obtain dir lock in repository `/a/cvsroot/pkgsrc'
cvs [checkout aborted]: read lock failed - giving up
The fix for this was to add use the -u switch, like:
cvs -ud /a/cvsroot checkout pkgsrc