mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-20 19:06:59 +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,
|
||||
}, &container.FileEntry{
|
||||
Name: "workflow/envs.txt",
|
||||
Mode: 0644,
|
||||
Mode: 0666,
|
||||
Body: "",
|
||||
}, &container.FileEntry{
|
||||
Name: "workflow/paths.txt",
|
||||
Mode: 0644,
|
||||
Mode: 0666,
|
||||
Body: "",
|
||||
}),
|
||||
)(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue