IBM Support

Changing the username on UNIX or Linux prevents the removal of metadata

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

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Operating System Configurations","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"7.0;7.0.1;7.1;7.1.1;7.1.2;8.0;8.0.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21119525