Commit 63f4f87
fix: make audit artifacts world-readable to fix gh-aw post-job EACCES
AWF creates audit files (squid.conf, docker-compose.redacted.yml,
policy-manifest.json) as root with 0o600 permissions. When gh-aw's
post-job secret scanner runs as the runner user, it gets EACCES
trying to stat/scan these files, causing job failures.
Since audit files already have secrets redacted, change permissions
from 0o700/0o600 to 0o755/0o644 so they're readable without needing
the chmod a+rX cleanup step to have run first.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7d97a4c commit 63f4f87
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2339 | 2339 | | |
2340 | 2340 | | |
2341 | 2341 | | |
2342 | | - | |
2343 | | - | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
2344 | 2345 | | |
2345 | 2346 | | |
2346 | 2347 | | |
2347 | | - | |
| 2348 | + | |
2348 | 2349 | | |
2349 | 2350 | | |
2350 | 2351 | | |
2351 | 2352 | | |
2352 | 2353 | | |
2353 | 2354 | | |
2354 | | - | |
| 2355 | + | |
2355 | 2356 | | |
2356 | 2357 | | |
2357 | 2358 | | |
| |||
2368 | 2369 | | |
2369 | 2370 | | |
2370 | 2371 | | |
2371 | | - | |
| 2372 | + | |
2372 | 2373 | | |
2373 | 2374 | | |
2374 | 2375 | | |
| |||
0 commit comments