このコマンドは機能しません:
cleartool protect -chmod 770 <vob-tag-name>
次のエラーが発生します。
cleartool> protect -chmod 770 vob-tag-name
cleartool: Error: Unable to access "vob-tag-name": ClearCase object not found.
VOBタグは有効であり、正しいVOBの場所を指しています。
私は何が間違っているのですか?
上記のコマンドでは、次のようなパスを使用する必要がありますprotect -chmod 770 /vobs/vobname/dir/file.txt
VOB を保護するには、protectvob コマンドを使用する必要があります。
VOB オブジェクト (要素 (ファイル/ディレクトリ/..)、メタ タイプ (ブランチ/...)) の変更権限/所有権を保護します。
eg: For a file --> **ct protect –chmod 770 main.pl** ,
for all elements in the directories --> **ct protect –recurse –chmod 770 src**
実行ct setview <view-name>
して VOB に cd してcd <vob-tag>
実行/usr/atria/bin/cleartool protect -chmod 770 -recurse <vob-tag>