Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

linux - Re-synchronizing after changing permission to view in ClearCase

I created a new ClearCase view on a Linux machine. And it was synchronized into the Windows machine where the developers work. However, I found that the permissions for the view was wrong and I modified the permission for the view using the chgrp command in Linux.

I have two questions:

  1. Is this the correct way to change permissions for the view in ClearCase in Unix?
  2. Is there a possibility to re-synchronize with Windows region after the change in permission is made?
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I have never changed permission on the filesystem itself (in your case, the vws view storage root folder)

If a cleartool desc -l -full -pro aview gives the wrong group, I would use fix_prot, as illustrated here.

alias sfp sudo /usr/atria/etc/utils/fix_prot

sfp -force -rec -chown <owner> -chgrp <ClearCaseUsers> -chmod 775 /path/to/viewStorage/yourView.vws
sfp -force -root -chown <owner> -chgrp <ClearCaseUsers> /path/to/viewStorage/yourView.vws

On a Windows client, I would typically do:

set CLEARCASE_PRIMARY_GROUP=aGroup
doskey fp=c:RationalClearCaseetcutilsfix_prot.exe -force -chgrp "aGroup" -chown aLogin $*
fp -rec -chmod 775 \UNCPathoview.vws
fp -root \UNCPathoview.vws

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...