Commit 3d5697e
Fix permission denied error by matching container user to runner UID/GID
When using manual docker run instead of container: block, GitHub Actions
no longer handles user mapping automatically. Files created by the
root-running container were unwritable by the host runner. Pass
--user $(id -u):$(id -g) to match the runner's identity.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e218062 commit 3d5697e
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments