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
This commit is contained in:
parent
6550eb7f25
commit
2261204c65
1 changed files with 2 additions and 2 deletions
|
@ -159,11 +159,11 @@ func (rc *RunContext) startJobContainer() common.Executor {
|
||||||
Body: rc.EventJSON,
|
Body: rc.EventJSON,
|
||||||
}, &container.FileEntry{
|
}, &container.FileEntry{
|
||||||
Name: "workflow/envs.txt",
|
Name: "workflow/envs.txt",
|
||||||
Mode: 0644,
|
Mode: 0666,
|
||||||
Body: "",
|
Body: "",
|
||||||
}, &container.FileEntry{
|
}, &container.FileEntry{
|
||||||
Name: "workflow/paths.txt",
|
Name: "workflow/paths.txt",
|
||||||
Mode: 0644,
|
Mode: 0666,
|
||||||
Body: "",
|
Body: "",
|
||||||
}),
|
}),
|
||||||
)(ctx)
|
)(ctx)
|
||||||
|
|
Loading…
Reference in a new issue