Commit 1aee684
fix: ensure HOME directory has correct ownership in chroot mode
When Docker bind-mounts subdirectories (e.g., ~/.claude, ~/.config),
it creates parent directories as root:root. This means $HOME itself
becomes root-owned, preventing CLI tools from writing directly to
$HOME (e.g., creating lock files, temp files, or new subdirectories).
Fix HOME ownership before Docker compose runs to ensure the agent user
can write to the home directory. This likely fixes the Smoke Claude
timeout where Claude Code hangs after accessing the API key.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2308287 commit 1aee684
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
971 | | - | |
972 | | - | |
973 | | - | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
974 | 974 | | |
975 | 975 | | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
976 | 979 | | |
977 | 980 | | |
978 | 981 | | |
979 | 982 | | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
980 | 994 | | |
981 | 995 | | |
982 | 996 | | |
| |||
0 commit comments