fix(f6): re-own the actions cache (.cache/act) for the uid-1000 runner #62

Merged
sirius merged 1 commit from fix/f6-runner-cache-ownership into master 2026-11-27 05:52:50 +00:00
Owner

Follow-up to #58

Job run 123 (deploy-site, deploy-arm64) failed 3 s in:

open /data/.cache/act/actions-checkout@v4/.git/objects/pack/pack-...pack: permission denied

The runner (now uid 1000) clones action repos under /data/.cache/act, which was
still root-owned from the root-runner era. fix-data-perms only re-owned
runner.ini + /data/cache.

Now it walks the top level of the data PVC and chown -R 1000:1000 an entry only
when its owner is not already 1000, skipping docker (the dind data-root, kept
root-owned so we never walk tens of GB of image layers). Covers .cache and any
future directory the runner writes.

## Follow-up to #58 Job run 123 (`deploy-site`, deploy-arm64) failed 3 s in: ``` open /data/.cache/act/actions-checkout@v4/.git/objects/pack/pack-...pack: permission denied ``` The runner (now uid 1000) clones action repos under `/data/.cache/act`, which was still root-owned from the root-runner era. `fix-data-perms` only re-owned `runner.ini` + `/data/cache`. Now it walks the top level of the data PVC and `chown -R 1000:1000` an entry only when its owner is not already 1000, skipping `docker` (the dind data-root, kept root-owned so we never walk tens of GB of image layers). Covers `.cache` and any future directory the runner writes.
The runner clones action repos into /data/.cache/act. Those files were created
by the root runner and a job now dies with
`open /data/.cache/act/actions-checkout@v4/.git/objects/pack/...pack: permission denied`
(run 123, deploy-site).

fix-data-perms now walks the top level of the data PVC and chowns everything
except `docker` (the dind data-root, deliberately root-owned) when the entry is
still root-owned — so a restart is cheap and future dirs are covered.
sirius merged commit 50ee0d23f4 into master 2026-11-27 05:52:50 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sirius/homek8s!62
No description provided.