fix(workspace): Create workspace dir with permissions 0755
This commit is contained in:
parent
6a6897831a
commit
34191b6d6e
@ -15,7 +15,7 @@ func PrepWorkspace(workspace string) error {
|
|||||||
return fmt.Errorf("%s is not a directory", workspace)
|
return fmt.Errorf("%s is not a directory", workspace)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
err = os.MkdirAll(workspace, 0644)
|
err = os.MkdirAll(workspace, 0755)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -29,7 +29,7 @@ func PrepWorkspace(workspace string) error {
|
|||||||
return fmt.Errorf("%s is not a directory", scripts)
|
return fmt.Errorf("%s is not a directory", scripts)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
err = os.Mkdir(scripts, 0644)
|
err = os.Mkdir(scripts, 0755)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user