Skip to content

fix(ci): keep the local media directory writable - #59

Closed
patriksimms wants to merge 1 commit into
mainfrom
fix/ci-local-dir-permissions
Closed

fix(ci): keep the local media directory writable#59
patriksimms wants to merge 1 commit into
mainfrom
fix/ci-local-dir-permissions

Conversation

@patriksimms

Copy link
Copy Markdown
Owner

Problem

Every CI run has failed since `fix(dev): persist local RustFS media` (ddd2194), before a single check ran:

EACCES: permission denied, mkdir '/home/runner/work/sakekeep/sakekeep/.local/icc'
error: script "setup:icc" exited with code 1

RustFS moved from named volumes to bind mounts under `.local/`. On the runner, `docker compose up` creates those missing directories as root, so `.local/` becomes unwritable and the next step cannot download the ICC profile.

Solution

Create the bind-mount targets as the runner user before compose starts, so `.local/` stays writable. Only `.local/media` and `.local/rustfs-logs` are handed to the container.

Validation

This pipeline itself: the run for this branch is the proof, since `main` fails at the same step.

No changes outside the repository are required.


Made with Claude Opus 5 (1M context) in Claude Code.

Since RustFS moved to bind mounts, docker compose created .local/ as root
on the runner, so the following setup:icc step could no longer write into
it and every CI run failed before any check ran.

Create the bind-mount targets as the runner user before compose starts.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
AI-Assisted-By: Codex
@patriksimms
patriksimms marked this pull request as ready for review August 18, 2026 21:31
@patriksimms

Copy link
Copy Markdown
Owner Author

Duplicate of #61, which fixes the same setup:icc EACCES failure and also bumps the deprecated actions/checkout@v4. Closing in favour of that one.

For the record, the approach here was order-independent (create the bind-mount targets as the runner user before compose runs) rather than relying on setup:icc running before docker compose up. Worth folding in if a future step ever writes into .local/ after compose starts.

@patriksimms
patriksimms deleted the fix/ci-local-dir-permissions branch August 18, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant