Commit 8af527d
committed
fix: patch foreground script to avoid chown in rootless containers
The foreground script uses 'install --owner --group' to create the
restartcounter file, which requires CAP_CHOWN. Replace with touch + chmod
which works without elevated capabilities.1 parent 6d88b3a commit 8af527d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
232 | 236 | | |
233 | 237 | | |
234 | 238 | | |
| |||
0 commit comments