feature: changed default new directories perm to unix '0755'

master
amorozov 2024-06-29 21:27:07 +03:00
parent b6c6436cee
commit 7c0e31aec7
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import "os"
func MkdirParent(fileLocation string) error {
parentDir := GetParentDir(fileLocation)
if parentDir != "" {
parentDirCreationErr := os.MkdirAll(parentDir, os.ModeDir)
parentDirCreationErr := os.MkdirAll(parentDir, 0755)
if parentDirCreationErr != nil {
return parentDirCreationErr