Troubleshooting
Problem
This technote explains why the error "cleartool: Error: No permission to perform operation 'remove branch'" occurs when trying to remove a branch instance (or other metadata type instances) after changing the username (but not the UID) of the user who created it when using IBM Rational ClearCase.
Symptom
The username of the account was changed, but the UID was left the same.
Attempts to remove a branch instance (or other metadata type instances like attributes or labels) that was created under the old username results in the error:
cleartool: Error: No permission to perform operation "remove branch".
cleartool: Error: Must be one of: object creator, element owner, VOB owner, root
cleartool: Error: Unable to remove branch "sun.c@@/main/sun_branch".
Here is an example where the username was changed from jane to janed . The instance of the branch was created using jane, but then (at some later time) the username was changed to janed.
- cleartool describe of the branch instance created under the username jane
sunny[vobadm]: cleartool describe -l common.h@@/main/release1
branch "common.h@@/main/release1"
created 02-Aug-01.15:17:39 by Jane Doe(jane.devsrc@us)
branch type: release1
master replica: original@/vobs/us (defaulted)
request for mastership: allowed
Element Protection:
User : jane : r--
Group: user : r--
Other: : r--
element type: c_include
branched from version: /main/3
- The branch type release1 was created by jane, but the owner's username has been change to janed as seen in the cleartool describe brtype below:
sunny[vobadm]: cleartool describe -l brtype:release1
branch type "release1"
created 02-Aug-01.14:58:04 by Jane Doe(jane.devsrc@us)
master replica: original@/vobs/us
request for mastership: allowed for branch type
request for mastership: allowed for all instances
owner: janed
group: user
scope: this VOB (ordinary type)
constraint: one version per element
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21119525