使用python在clearcase中写入文件时出现权限被拒绝的问题

2024-06-28 20:27:58 发布

您现在位置:Python中文网/ 问答频道 /正文

试图使用python写入clearcase中的xml文件时遇到PermissionError: [Errno 13] Permission denied问题

tree.write(locationXml, pretty_print=True, xml_declaration=True,encoding="UTF-8") 

Tags: 文件truetreeprettyxmlencodingwriteclearcase
1条回答
网友
1楼 · 发布于 2024-06-28 20:27:58

I checkout the file and try to write into it and faced this issue.

首先,了解是快照视图还是动态视图很重要。
它们各自有不同的边情况(hijacked vs. eclipsed)。你知道吗

但它也可以随UCM视图而更改(在签出文件之前,必须设置UCM活动)

不过,在您的情况下,请检查另一个进程是否没有保留要修改的文件的句柄,这将解释错误消息。
根据您的操作系统,检查文件签出后是否仍然可以访问。
因此,签出文件的父文件夹中的cleartool status仍然是获取更多线索的最佳选择。你知道吗

相关问题 更多 >