已关闭
[Requirement|需求建议]: 统一配置ops-cv安装目录及文件权限 #875
qinhan创建于  18 天前关闭于  14 天前
qinhan
qinhan
18 天前 创建

Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.

Backgroud(背景信息)

统一 ops-cv 安装目录及文件权限的配置方式,清理散落在安装脚本各处的 chmod 权限设置逻辑,改为在统一入口cmake集中处理

Origin(信息来源)

图灵业务部

Benefit / Necessity (价值/作用)

规范cann包所安装目录及文件的权限,所有目录均为750,可执行程序为750,python/shell脚本为750,
share/info/包名/script目录下安装卸载脚本等统一为740,其他文件为640,符号链接为777,opp/built-in目录为550

Design(设计方案)

核心改动集中在 scripts/package/ops_cv/scripts/install.sh 与 opp_install.sh:删除了对日志文件、scene.info、version.info、INSTALL_INFO_FILE、script 目录及 filelist.csv 的分散 chmod 操作,这些操作会覆盖cmake中统一规范的权限

likedislike
Rrenruhai成员
18 天前 将 qinhan123 设为负责人
qinhanqinhan
15 天前 修改了issue 的描述
CANN-robotCANN-robot成员
14 天前 关闭了 issue
CANN-robotCANN-robot成员
14 天前 添加了label:resolved