Merge pull request #534 from int-tt/workdir-permission
Create workdir the same permission as existing mobydocker-18.09
commit
67f330d972
|
@ -167,7 +167,7 @@ func (w *runcExecutor) Exec(ctx context.Context, meta executor.Meta, root cache.
|
|||
if err != nil {
|
||||
return errors.Wrapf(err, "working dir %s points to invalid target", newp)
|
||||
}
|
||||
if err := os.MkdirAll(newp, 0700); err != nil {
|
||||
if err := os.MkdirAll(newp, 0755); err != nil {
|
||||
return errors.Wrapf(err, "failed to create working directory %s", newp)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue