如何删除其他用户创建的清除案例视图? [英] How to delete clearcase views created by other users?

查看:79
本文介绍了如何删除其他用户创建的清除案例视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近离开我们组织的朋友也未删除其ClearCase视图。

现在我们要删除它。

My friend who recently left our organisation also left his ClearCase view undeleted.
Now we wanted to delete it.

我正试图删除,但不允许。它说:

I was trying to delete but it did not allow. It said:

Unable to remove "\\hostname\viewsharefolder\Viewname.vws" 
Operation not permitted

管理员只能删除他的视图吗?

Can administrator only delete his views?

如果我删除了与视图关联的( .vws )文件夹,例如: Components_int.vws ,够了吗?

If I deleted the (.vws) folder associated with view, for ex: "Components_int.vws", will it be enough?

推荐答案

可以(对于任何视图,快照或动态,UCM或基本ClearCase)。

Yes you can (for any view, snapshot or dynamic, UCM or base ClearCase).

您也可以删除它,而无需访问它。 (因此,删除视图存储是不够的,甚至是没有必要的)

You also can remove it without ever accessing it. (So removing the view storage isn't enough, or even necessary)

如果您仍然有权访问视图存储:

If you still have access to the view storage:

cleartool rmview theViewToRemove

如果有尝试删除该视图时出现访问/权限问题:

If there is any access/right issue when trying to remove said view:

cleartool lsview -l theViewToRemove # get its uuid
cleartool rmtag -view theViewToRemove
cleartool unregister -view -uuid uuid_of_viewToRemove

第二种解决方案非常方便

您只需在ClearCase的中央注册表中删除对该视图的引用(特别是 view_object 和您的ClearCase注册表服务器的 view_tag 个文件)

That second solution is very handy in that you don't need access to the view storage.
You simply remove reference to that view in the central registry of ClearCase (specifically the view_object and view_tag files of your ClearCase registry server)

Tamir Gefen 在评论中提到了IBM脚本 rmview.pl ,该脚本在SO问题中也提到了 删除ClearCase Views脚本

Tamir Gefen mentions in the comment the IBM script rmview.pl, which is also mention in the SO question "Delete ClearCase Views Script".

我在回答同一问题时使用了一个更简单的脚本: muke_view.pl

A simpler script is in my answer of that same question: "muke_view.pl"

这篇关于如何删除其他用户创建的清除案例视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆