From 6dff1f2f88b6db7d2f2473c1d5e61defeebabb8d 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 --- act/runner/run_context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index 151386b5..e0ef92d6 100755 --- a/act/runner/run_context.go +++ b/act/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)