Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
统一 ops-cv 安装目录及文件权限的配置方式,清理散落在安装脚本各处的 chmod 权限设置逻辑,改为在统一入口cmake集中处理
图灵业务部
规范cann包所安装目录及文件的权限,所有目录均为750,可执行程序为750,python/shell脚本为750, share/info/包名/script目录下安装卸载脚本等统一为740,其他文件为640,符号链接为777,opp/built-in目录为550
核心改动集中在 scripts/package/ops_cv/scripts/install.sh 与 opp_install.sh:删除了对日志文件、scene.info、version.info、INSTALL_INFO_FILE、script 目录及 filelist.csv 的分散 chmod 操作,这些操作会覆盖cmake中统一规范的权限
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中统一规范的权限