-1

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?

manuelvigarcia
  • 1,696
  • 1
  • 22
  • 32
  • If you create a C:\CVS directory and make it writable by everybody, does that allow it to work? – Mort May 09 '22 at 20:35
  • @Mort I didn't try, to be honest. When I found the retry "solution", I didn't give it a second thought. I've just created such directory and gave permissions to all. I'll comment back here if I ever get the error again (I did get it since the date of creation of this question, but I "retried"). – manuelvigarcia May 13 '22 at 09:59

1 Answers1

0

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.

manuelvigarcia
  • 1,696
  • 1
  • 22
  • 32