From 447d150fc7b820d67ebf5299f09a789843aebd78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E8=89=BA=E4=B8=B9?= <53546877+Craven1701@users.noreply.github.com> Date: Sun, 14 Sep 2025 18:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E7=94=A8=E6=88=B7=E6=9D=83=E9=99=90?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- omniadvisor/compile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/omniadvisor/compile.py b/omniadvisor/compile.py index 8032bec14..361624def 100644 --- a/omniadvisor/compile.py +++ b/omniadvisor/compile.py @@ -96,7 +96,8 @@ def set_permissions(root_dir: dir): for file in files: file_path = os.path.join(root, file) os.chmod(file_path, 0o550) - + # 配置用户主目录权限 + os.chmod(root_dir, 0o750) if __name__ == '__main__': -- Gitee