Use 0755, rather than 0744, for directories
This commit is contained in:
parent
bfe084e3aa
commit
b3859bd78f
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ func saveSnapshot(husk tokens.QName, snap resource.Snapshot, file string) {
|
|||
backupSnapshot(file)
|
||||
|
||||
// Ensure the directory exists.
|
||||
if err = os.MkdirAll(filepath.Dir(file), 0744); err != nil {
|
||||
if err = os.MkdirAll(filepath.Dir(file), 0755); err != nil {
|
||||
sink().Errorf(errors.ErrorIO, err)
|
||||
} else {
|
||||
// And now write out the new snapshot file, overwriting that location.
|
||||
|
|
Loading…
Reference in a new issue