From 2261204c65b71d661495de95df6610c451157a67 Mon Sep 17 00:00:00 2001 From: "Ryan (hackercat)" Date: Wed, 9 Jun 2021 23:08:39 +0000 Subject: [PATCH] fix: wrong perms (#726) if someone is using image with a non-root user, they will get a permission denied since only root has write perms --- pkg/runner/run_context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go index 151386b..e0ef92d 100755 --- a/pkg/runner/run_context.go +++ b/pkg/runner/run_context.go @@ -159,11 +159,11 @@ func (rc *RunContext) startJobContainer() common.Executor { Body: rc.EventJSON, }, &container.FileEntry{ Name: "workflow/envs.txt", - Mode: 0644, + Mode: 0666, Body: "", }, &container.FileEntry{ Name: "workflow/paths.txt", - Mode: 0644, + Mode: 0666, Body: "", }), )(ctx)