Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 227653

Summary: Lock file preventing to branch
Product: Community Reporter: Pascal Rapicault <pascal>
Component: CVSAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: anne.jacko, sharon.corbett, simon_kaegi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Pascal Rapicault CLA 2008-04-17 16:56:25 EDT
When I'm trying to branch, I'm getting the following error:

The server reported an error while performing the "cvs tag" command.
  org.eclipse.equinox.p2.tests: cvs [tag aborted]: could not open lock file `/cvsroot/eclipse/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/extensionlocation/,AllTests.java,': Permission denied

It is now the second time that this happens to me in a short period of time. What could cause this lock?
Comment 1 Denis Roy CLA 2008-04-18 16:44:29 EDT
The "ownership" of that directory wasn't p2.  This happens often when people create directories using the shell, for instance.  Try now.
Comment 2 Pascal Rapicault CLA 2008-04-18 22:26:51 EDT
I'm re-opening because I'm experiencing this problem on new files now:

The server reported an error while performing the "cvs tag" command.
  org.eclipse.equinox.p2.tests: src/org/eclipse/equinox/p2/tests/AbstractProvisioningTest.java : Root_patches already exists on version 1.48 : NOT MOVING tag to version 1.49
  org.eclipse.equinox.p2.tests: src/org/eclipse/equinox/p2/tests/TestArtifactRepository.java : Root_patches already exists on version 1.7 : NOT MOVING tag to version 1.8
  org.eclipse.equinox.p2.tests: src/org/eclipse/equinox/p2/tests/TestMetadataRepository.java : Root_patches already exists on version 1.8 : NOT MOVING tag to version 1.9
  org.eclipse.equinox.p2.tests: src/org/eclipse/equinox/p2/tests/artifact/repository/ArtifactOutputStreamTest.java : Root_patches already exists on version 1.7 : NOT MOVING tag to version 1.8
  org.eclipse.equinox.p2.tests: src/org/eclipse/equinox/p2/tests/artifact/repository/FoldersRepositoryTest.java : Root_patches already exists on version 1.8 : NOT MOVING tag to version 1.9
  org.eclipse.equinox.p2.tests: src/org/eclipse/equinox/p2/tests/artifact/repository/SimpleArtifactRepositoryTest.java : Root_patches already exists on version 1.7 : NOT MOVING tag to version 1.8
  org.eclipse.equinox.p2.tests: cvs [tag aborted]: could not open lock file `/cvsroot/eclipse/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.tests/testData/extensionlocation/features/org.eclipse.rcp_3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG/,feature.properties,': Permission denied

They have been added by Simon (skaegi) and therefore I'm wondering if there is not something with its rights.
Comment 3 Simon Kaegi CLA 2008-04-18 22:31:56 EDT
FWIW those folders were created using the Eclipse CVS client -- not directly in the shell.
Comment 4 Denis Roy CLA 2008-04-21 08:57:28 EDT
That's odd -- some directories were again owned by the generic 'common' group, not eclipse.equinox.p2-dev

I've reset the ownership, so you should be good.  I'll investigate Simon (and dj's) account settings to see why the ownership keeps changing.

Thanks
Comment 5 Denis Roy CLA 2008-08-20 13:09:54 EDT
I was unable to find anything interesting to look at, so I'll close this as fixed.