fix: files and directories are created with the correct permissions (#2966)

This commit is contained in:
ねらひかだ
2024-01-30 18:12:38 +09:00
committed by GitHub
parent 04e03a83b4
commit 5c5ab6b875
3 changed files with 8 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ import (
"github.com/filebrowser/filebrowser/v2/rules"
)
const PermFile = 0664
const PermFile = 0644
const PermDir = 0755
// FileInfo describes a file.