Search code examples
clearcasecleartool

Clearcase "pname" for a VOB


I'm trying to change the ownership on a VOB, and I see that the cleartool protect command has a chown option. It's asking for a pname, and I can't seem to find documentation on what a pname is or how to specify one. I guess my questions boil down to:

  1. What's a pname? What's its format?

  2. How do I specify the pname for a VOB?

  3. Is there documentation on pnames somewhere? Or at least examples of changing ownership of VOBs.


Solution

  • Changing the ownership of a Vob is done through cleartool protectvob.

    It will require the "pname-in-vob":

    The pathname of the VOB tag (whether or not the VOB is mounted) or of any file system object within the VOB (if the VOB is mounted).

    I.e: /vobs/MyVob (unix-style) or \MyVob (usual Windows declaration for Vob tags)


    It is different from cleartool protect, which would only protect an element (file or directory), which is, in the case of a Vob, the root directory of the Vob.
    The path of that root directory would be the pname.
    But again, that wouldn't change the ownership of the Vob.