Fix tmpfs ownership so storkit user can write to home dir

The tmpfs at /home/storkit defaulted to root ownership (mode=755),
so Claude Code couldn't write ~/.claude.json or ~/.cache/. Set
uid=999,gid=999 to match the storkit user.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Timmy
2026-03-21 21:19:16 +00:00
parent 9f873dc839
commit 9075bc1a84

View File

@@ -72,7 +72,7 @@ services:
read_only: true read_only: true
tmpfs: tmpfs:
- /tmp:size=512M - /tmp:size=512M
- /home/storkit:size=512M - /home/storkit:size=512M,uid=999,gid=999
# Drop all Linux capabilities, then add back only what's needed. # Drop all Linux capabilities, then add back only what's needed.
# SETUID/SETGID needed by Claude Code's PTY allocation (openpty). # SETUID/SETGID needed by Claude Code's PTY allocation (openpty).