Changing the protection of a global type
About this task
To change the protection of a global type, use the cleartool protect command. You can enter the command in the context of any VOB in a hierarchy in which the type is defined, even if the VOB does not contain a local copy of the type.
Example
cleartool protect –chown jtg lbtype:LABEL1@\dev
Changed protection on "LABEL1".
cleartool describe –local lbtype:LABEL1@\re
label type "LABEL1"
...
owner: jtg
group: user
scope: this VOB (local copy of global type)
...
If the protection cannot be changed on one or more of the local copies, the operation fails and the global type’s protection is not changed. This failure leaves the global type and its local copies in inconsistent states. You must fix the problem that prevented the protection from being changed and run the protect command again.