feature: changed default new directories perm to unix '0755'
parent
b6c6436cee
commit
7c0e31aec7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue