From e1895c398c87146978ca1a70ae7c2eadc7c92b66 Mon Sep 17 00:00:00 2001 From: Miyachi Katsuya Date: Mon, 23 Jul 2018 18:21:03 +0900 Subject: [PATCH] feat: create workdir permission with 755 according to existing docker --- executor/runcexecutor/executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor/runcexecutor/executor.go b/executor/runcexecutor/executor.go index 5225d5fc..8dae7b2e 100644 --- a/executor/runcexecutor/executor.go +++ b/executor/runcexecutor/executor.go @@ -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) }