I get «cvs [update aborted]: cannot rename file .new.foobar.jar to foobar.jar: Permission denied». What should I do?
This error appears when some process (e.g. your GUI or Ant) has locked the mentioned file, so it cannot be updated from repository. In some rare cases, you could also be lacking permissions to write the file. First, try to identify and terminate the offending process. If the problem persists, it could be that your build script locks the file, e.g. by using the file within some classpath. In that case, rewrite the build script; e.g. you could first make a temporary copy of the file and use that copy within the classpath. If this was not the case or doesn’t help, some system process could have locked the file; try rebooting the system.