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