0

此命令不起作用:

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 位置。

我究竟做错了什么?

4

3 回答 3

1

在上面的命令中,您应该使用类似的路径protect -chmod 770 /vobs/vobname/dir/file.txt

要保护 VOB,您应该使用protectvob 命令。

于 2011-06-06T22:28:31.660 回答
0

运行ct setview <view-name> 然后 cd 到 VOBcd <vob-tag> 然后运行/usr/atria/bin/cleartool protect -chmod 770 -recurse <vob-tag>

于 2014-07-23T04:34:34.830 回答
0

保护 VOB 对象(元素(文件/目录/..)、元类型(分支/...))的更改权限/所有权。

 eg: For a file --> **ct protect –chmod 770 main.pl** , 
     for all elements in the directories --> **ct protect –recurse –chmod 770 src**
于 2014-01-10T09:12:09.247 回答