已关闭
【自提单】【MindFormers】【安全】mindformers自身日志和策略文件等目录未做好权限控制 #1959
zyw-hw创建于  2025年7月11日关闭于  2025年7月29日
zyw-hw
zyw-hw成员
2025年7月11日 创建

1.Describe the current behavior / 问题描述 (Mandatory / 必填)

mindformers生成的日志、策略文件目录、transform_failed_*文件、meta.json等,未做好权限控制,生成内容所有人可见,需整改为640。
输入图片说明

2.Environment / 环境信息 (Mandatory / 必填)

  • Hardware Environment / 硬件环境(Mandatory / 必填):
    Hardware (e.g.Ascend910B1/Mac CPU)

    样例:

后端类型 硬件具体类别
Ascend 910B1
CPU Win CPU
  • Software Environment / 软件环境 (Mandatory / 必填):
    迭代版本新增问题样例:(根据实际修改和增删)
Software Version(根据实际修改,必填)
MindSpore MindSpore 2.7.0
MindFormers dev
Python Python 3.11.4

bugfix版本问题引入样例:(根据实际修改和增删)

不涉及

3.Related testcase / 关联用例 (Mandatory / 必填)

tests/st/test_ut/base_schema.json

4.Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

不涉及

5.Describe the expected behavior / 预期结果 (Mandatory / 必填)

不涉及

6.Related log / screenshot / 日志 / 截图 (Mandatory / 必填)

不涉及

7.Special notes for this issue/备注 (Optional / 选填)

**【定位人】**吴某某(根据实际修改)

likedislike
zyw-hwzyw-hw成员
2025年7月11日 创建了缺陷
zyw-hwzyw-hw成员
2025年7月11日 添加协作者hsshuai
zyw-hwzyw-hw成员
2025年7月11日 添加了   ctl/rdselftest 标签
Yyiyison
2025年7月11日 关联了MindSpore/mindformers Pull Request !6768
Yyiyison
2025年7月11日 关联了MindSpore/mindformers Pull Request !6772
Yyiyison
2025年7月29日 将状态从 TODO 修改为DONE
Iivss成员
2025年9月10日 移除了ctl/rdselftest(已删除)标签
AAtomGit-Bot
2025年12月14日 关联了看板:MindSpore Bug Tracking System