2

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.

clearcase
  • 91
  • 6

1 Answers1

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
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks! I tried the above command with just -print and it did not return anything. The vob/pvob were created on the Linux server. The primary group of the vob/pvob is unix group ccusers. I am creating the activity on the windows side and my CLEARCASE_PRIMARY_GROUP environment variable is set to windows DOMAINNAME\ccusers. Do you think that is the problem? How do I make sure the group map. – clearcase Jun 27 '13 at 15:17
  • @clearcase the mappings seems fine. You should check it with `credmap` (an utility for 'credential mapping'): http://www-01.ibm.com/support/docview.wss?uid=swg21132158. The '`NOBODY`' usually pops up when you create an activity while your `CLEARCASE_PRIMARY_GROUP` wasn't properly set yet. Do you still have '`NOBODY`' when you create a new activity? – VonC Jun 27 '13 at 15:41
  • Thanks for the pointer to credmap VonC. I did a credmap and my user on windows is mapped to NOBODY on unix side...onto some investigation now.. – clearcase Jun 27 '13 at 15:52