Why is the owner of the clearcase activity 'no

2019-01-15 17:31发布

问题:

Why is the owner of the clearcase activity I created is 'NOBODY' but the created by is identified correctly.

Is this the reason why I am not able to view the change set as a different user on a different machine.

回答1:

Those are representing object (here UCM activities) created by a user with an incorrect CLEARCASE_PRIMARY_GROUP environment variable (ie a group he/she isn't part of, or a group which isn't part of the primary or secondary groups of the vob/pvob of the UCM project).

I usually fix that (as a ClearCase admin) with a:

cd M:\auser_dynamic_ucm_view\avob\a_root_component
cleartool find . -user NOBODY -exec "cleartool protect -chown a_login_name -chgrp agroup \"%CLEARCASE_PN%\""

That would fix incorrect files though, not UCM activities.

For an activity, I would do a:

cleartool protect -chown a_login_name activity:anActivity@\apvob