Commit f924350
The chmod was running after USER $UID_GID, so it ran as the non-root user
and could not change permissions on the root-owned file copied from the
build context. This worked locally because the file already had the execute
bit set on the host filesystem, but CI builds start with a clean context
where the bit is absent.
Move chmod to before the USER switch so it runs as root.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent dc99fff commit f924350
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | | - | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
0 commit comments