How can i modify vob group in clearcase in windows

2019-05-29 23:34发布

问题:

My views are in none group but user and administrator is in clearcase group.so I am not able to access my vob in view server. How can i change my view group?

回答1:

You would need to use fix_prot: see "How to change the group name in view dir (*.vws) since primary group in pvob is changed?"

fix_prot [–f/orce] { –root [–r/ecurse] [–recover {–chown user | –chgrp group } |
  –replace/_server_process_group| [–r/ecurse] [–type { d | f }] 
                                  [–chown user] [–chgrp group] [–chmod permissions] } pname …

I usually define an alias first:

doskey fp=c:\Rational\ClearCase\etc\utils\fix_prot.exe -force -chgrp "TheNewGroup" -chown yourID $*

And then change the view properties:

fp -rec -chmod 775 \\path\to\view\storage\yourID\yourView.vws
fp -root \\path\to\view\storage\yourID\yourView.vws

Or, without the doskey (Windows alias):

c:\Rational\ClearCase\etc\utils\fix_prot.exe -force -chgrp "TheNewGroup" -chown yourID $* -rec -chmod 775 \\path\to\view\storage\yourID\yourView.vws
c:\Rational\ClearCase\etc\utils\fix_prot.exe -force -chgrp "TheNewGroup" -chown yourID $* -root \\path\to\view\storage\yourID\yourView.vws


标签: clearcase