'How do I solve CVS error: cannot change permissions on temporary directory C:\CVS\cvstmp

Trying to "share project" in CVS from Eclipse, to upload a newly created Java project to the CVS repository it failed with the message:

«: cvs [server aborted]: cannot change permissions on temporary directory C:\CVS\cvstmp/cvs-serv:3072: Permission denied»

but no C:\CVS exists nor any CVS* environment variable or section of the PATH.

How do I solve the error and upload my new java project to the CVS repository?



Solution 1:[1]

Retry

There is not much about this in general. There are a lot of pages about the "permission denied", but as you add "CVS" and "C:\CVS" it grows thinner.

As a matter of fact, I only found this page that describes the problem, for a Red-Hat Linux installation, and goes on telling that it is a non-reproducible situation; and ends with the advice:

«If you experience this error while using CVS, retrying the operation which produced it should work fine.»

So I did: at the error message from Eclipse CVS plugin, I clicked OK, which returned me to the Share Project dialog and clicked "Next" again, and this time it succeeded.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 manuelvigarcia