提交 3fd413d9 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!271 fix the code to obey the principle of least priviledge

Merge pull request !271 from yelihua/dev_profiler
...@@ -259,4 +259,4 @@ class StepTraceParser: ...@@ -259,4 +259,4 @@ class StepTraceParser:
csv_writer.writerow(self._header) csv_writer.writerow(self._header)
for row_data in self._result: for row_data in self._result:
csv_writer.writerow(row_data) csv_writer.writerow(row_data)
os.chmod(self._output_path, stat.S_IREAD | stat.S_IWRITE) os.chmod(self._output_path, stat.S_IREAD)
文件模式从 100644 更改为 100755
文件模式从 100644 更改为 100755
文件模式从 100644 更改为 100755
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册