feature: changed default new directories perm to unix '0755'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user