mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-06-24 18:31:31 +08:00
d2e264a969
container-runner.ts maps the host UID into the container (e.g. 501 on macOS) so bind-mounted files have correct ownership. But /home/node is owned by UID 1000 (node) with mode 755, so the mapped UID cannot write .claude.json — causing Claude Code to silently fail without making any API calls. Widen to 777 so any mapped UID can write config files. This is safe because the container is ephemeral, single-process, and isolated — no multi-tenant risk. The only pre-existing files are .bashrc, .profile, and .bash_logout. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>