mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-25 19:17:01 +00:00
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
f96734321d
commit
6dff1f2f88
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…
Add table
Add a link
Reference in a new issue