[BUG] claude CLI tries to access nonexistent /home directories on boot
Resolved 💬 3 comments Opened Apr 19, 2026 by yyogo Closed May 26, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
On startup Claude CLI tries to access some paths under /home (which are seemingly related to CI / cloud instances) that almost certainly don't exist on the user's machine. In some cases (e.g. when /home is a network mount) this causes long delays or errors. This should not happen by default in the production build.
What Should Happen?
These paths should not be accessed. This behavior should be gated by feature flags, command line arguments or separate builds
Error Messages/Logs
$ claude --version
2.1.114 (Claude Code)
$ strace claude |& grep '"/home' | grep -v $USER
openat(AT_FDCWD, "/home/claude/.claude/remote/.oauth_token", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/claude/.claude/remote/.api_key", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/.git", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0x7ffd8a827330) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/.mcp.json", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
access("/home/runner/work/claude-cli-internal/claude-cli-internal/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/vendor/seccomp/x64/apply-seccomp", F_OK) = -1 ENOENT (No such file or directory)
access("/home/runner/work/claude-cli-internal/claude-cli-internal/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/x64/apply-seccomp", F_OK) = -1 ENOENT (No such file or directory)
access("/home/runner/work/claude-cli-internal/claude-cli-internal/node_modules/@anthropic-ai/sandbox-runtime/dist/vendor/seccomp/x64/apply-seccomp", F_OK) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/CLAUDE.md", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7ffd8a825c40) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/.claude/CLAUDE.md", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7ffd8a825c40) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/.claude/rules", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7ffd8a825c50) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/home/CLAUDE.local.md", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, 0x7ffd8a825c50) = -1 ENOENT (No such file or directory)
Steps to Reproduce
- Install claude CLI version 2.1.411
strace claude |& grep '"/home' | grep -v $USER- observe lines in output
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.114
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗