补充目录权限扫描说明
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-22 03:43:39 +08:00
1 parent 200a399b4d
commit 3f3ee2c0e1
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -693,7 +693,7 @@ func ensureManagedDirectoryAtRoot(root, directory string) error {
if statErr != nil || info.Mode()&os.ModeSymlink != 0 || !info.IsDir() {
return ErrUnsafeSSLFile
}
if err := os.Chmod(current, 0700); err != nil {
if err := os.Chmod(current, 0700); err != nil { // #nosec G302
return err
}
}