1

I synced dynamic view from unix to windows and checked out the file.
I want to check in the file from the unix site but the ownership is set on "Nobody" on the checked out file which means checkin is not possible from unix site.

-rwxrwxrwx  1 nobody  citco1       529 Oct 16 01:29 file.h

But I checkout out another file from unix and it is Ok.

-rwxrwxrwx  1 pditi  citco1       529 Oct 16 01:29 file1.h

How can I fix it?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
user2370590
  • 837
  • 1
  • 16
  • 31

1 Answers1

1

You can do a:

cleartool protect -chgrp rightGroup aFile
cleartool protect -chgrp rightGroup aFile@@

(the second protect the "element", the first only protect the version)

Next time, check your CLEARCASE_PRIMARY_GROUP environment variable on Windows.

You should set it to the primary group of the vob of the file modified:

cleartool descr -l vob:\yourVob

Then delete and recreate your view, and try again a checkout/checkin.

On Unix, the file should keep its group.

See also, for more: "Why is the owner of the clearcase activity 'nobody'". (a similar issue for UCM activity)

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • CLEARCASE_PRIMARY_GROUP is Ok. Possible of samba mapping issue? – user2370590 Oct 16 '13 at 18:10
  • 1
    @user2370590 to make sure `CLEARCASE_PRIMARY_GROUP` is ok, you need to do a `credmap ` and check if the group is correctly matched. – VonC Oct 16 '13 at 18:19
  • VonC, credmap generated my user name and cc primary grp are Ok. what else to check next? – user2370590 Oct 17 '13 at 13:43
  • 1
    @user2370590 you need to check that the "`Identity on local system`" "`Primary Group`" returned by `credmap` match the one on Unix ("`Identity on host "clearcase_server_hostname"`"), returned by the same `credmap`. – VonC Oct 17 '13 at 13:57
  • One thing I want to share is unix Id and windows Id are different, is this an expected behaviour if the Id's are different even though they are mapped? – user2370590 Oct 17 '13 at 14:43
  • 1
    @user2370590 yes, what counts is: 1/ identical group, 2/ the SID: NT on Unix should be the one of the Windows account. – VonC Oct 17 '13 at 14:50