patches: virtio-9p hands created entries to the configured uid/gid #19

Merged
steigr merged 1 commit from feature/p9-chown into main 2026-11-03 11:45:29 +00:00
Owner

Patch 0013. With the 9p share, what the guest creates belonged to the host user running iris (root), so the runner sidecar (uid 1000) could not delete a job's workspace and the sidecar had to run as root. iris now chowns a created file, directory or symlink to the share's uid/gid when it may (root or CAP_CHOWN, which the iris container has); the runner config sets uid=1000, gid=0 and the sidecar goes back to uid 1000. cargo test p9 passes.

🤖 Generated with Claude Code

Patch 0013. With the 9p share, what the guest creates belonged to the host user running iris (root), so the runner sidecar (uid 1000) could not delete a job's workspace and the sidecar had to run as root. iris now chowns a created file, directory or symlink to the share's uid/gid when it may (root or CAP_CHOWN, which the iris container has); the runner config sets uid=1000, gid=0 and the sidecar goes back to uid 1000. cargo test p9 passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
patches: virtio-9p hands created entries to the configured uid/gid (0013)
All checks were successful
iris container image / image (push) Successful in 5m12s
0df0bab66c
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
steigr merged commit 0df0bab66c into main 2026-11-03 11:45:29 +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
irix/iris-container!19
No description provided.