EACCES / EPERM: permission denied — page 3
The OS refused a read, write, or exec because of file ownership or mode.
415 issues · 71 open · 344 resolved (83%) · first seen Feb 24, 2025
First response · local
What to do now
Most likely: The operating system rejected a file or directory operation.
- Read the first path in the error and verify that it exists and belongs to the expected user.
- Check disk space, permissions, symlinks and whether another process holds the target.
- Reproduce with the smallest affected path before changing project-wide permissions.
These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.
Is this getting better or worse?
This class of problem is holding steady. 99 new reports in the last 90 days vs 130 in the 90 before — -24%. The open backlog peaked at 71 in 2026-08 and sits at 71 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
262 of these reports name the Claude Code build they were running, spanning 122 releases. Heaviest reporters:
- Claude Code v2.1.89
- Claude Code v2.1.59
- Claude Code v2.1.2
- Claude Code v2.1.128
- Claude Code v2.1.111
- Claude Code v2.0.76
- Claude Code v2.1.12
- Claude Code v2.1.19
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 28 days across 344 closures. Of the 344 closures with a recorded reason, 15% were closed as completed and 293 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
128 of these issues post a workaround someone says worked. The highest-engagement ones:
- Sandbox: allow outbound connections to localhost
- …e of these settings allow the outbound connection. The only workaround is either on every bash call, or adding the command to , both of which defeat the purpose of the sandbox. Requested feature A sandbox setting that al…
Found in the description of #28018 · still open - [BUG] Background tasks ignore $TMPDIR and hardcode /tmp/claude/
- To work around this problem, I did this: This is the version with the bug. First thing, disable auto update by adding this to : If you are still on version 2.0.76 you're good. If you are on 2.1.1 then you also have to do…
Found in the thread of #15700 · resolved - [BUG] claude-code for Windows is NOT available due to its port
- I had this error too. you can avoid it by patching the file and replacing the with a lower port, e.g. <img width="542" height="201" alt="Image" src=" /
Found in the thread of #3402 · resolved - Sandboxed Bash intermittently fails: apply-seccomp: unshare(CLONE_NEWUSER): Invalid argument
- …thread , if the helper's entry point can run early enough. Workarounds, for anyone else hitting this What we shipped: a small wrapper early on that rewrites the prefix to run under first. util-linux is single-threaded,…
Found in the description of #86928 · still open - [Feature Request] Multi-account/profile support with CLI flags
- …in to switch accounts - Use the web version for one account as a workaround Requested feature: Native support for multiple accounts/profiles, similar to how Chrome handles different Google accounts. Ideally: 1. Ability t…
Found in the description of #19722 · resolved
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 201–300
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 415 matches; the statistics above cover all 415.
- [Bug] Auto Mode unavailable despite defaultMode configuration and valid API key
- Cowork VM: "Failed to create bridge sockets after 5 attempts" on every session start
- [BUG] Cowork workspace fails to start — CoworkVMService cannot create named pipe due to WIN32_PACKAGED_PROCESS sandbox restrictions
- EBUSY file lock error on Windows when multiple sessions write to .claude.json
- [Bug] Claude executes destructive bash commands without user confirmation despite permission restrictions
- [Bug] Anthropic API Error: Usage limit exceeded (request_id: req_011CZrabntnbrNvkWcLBVgGB)
- [Bug] Extra Usage toggle prevents API access after re-enabling with new tokens
- [Bug] Anthropic API Error: Third-party apps usage billing change requires user action
- C:/Program Files/Git/insights crashes with EBUSY on Windows when session-meta file is locked
- [Bug] Excessive token consumption for simple queries - 74.8k tokens used with 5 tool calls
- Sandbox tmpdir mechanism is opaque and fails silently
- [Bug] /review command is deprecated, but the code-review plugin is unavailable in the marketplace
- [Bug] Agent ran destructive rm -rf on Docker data directory without user confirmation
- [Bug] Custom commands and skills not resolving correctly in v0.88+
- [BUG] Model emits Cyrillic homoglyph characters in file_path parameters for Read/Write/Edit tools when conversation context contains Cyrillic
- [Bug] Authentication fails with cached browser session - 401 error
- Custom agents in ~/.claude/agents/ not detected after reinstall
- [BUG] Claude Code inserts extra character into username when constructing ~/.claude/plans/ path
- Bash sandbox hardcodes /tmp, unusable on Termux/Android
- Voice mode fails on Termux/Android: `which` blocked by kernel (EPERM)
- Claude Code 2.1.78: Silent failure when opening Documents folder projects (TCC bundle ID migration breaks permissions)
- preview_start fails with EPERM: uv_cwd on macOS
- Windows path bug: missing backslash in marketplace plugin path
- Config save creates lock/temp files in ~/ which breaks sandboxed environments
- Windows: ~/.claude.json corruption from concurrent sessions (race condition in config writes)
- [BUG] install.sh errors out on Ubuntu if curl was installed with Snap
- Sandbox write allowlist missing ~/.claude.json — causes 44GB debug log spam per session
- [BUG] EACCES: permission denied when creating Python file after granting write permission
- [BUG] GUI chat re-prompts for auth on every message — EPERM rename error prevents token persistence on Windows
- Plugin install fails on Windows: EPERM on case-insensitive rename
- [BUG] Search tool silently fails when /tmp is noexec
- [BUG] Cowork Windows - EPERM: operation not permitted, rename rootfs.vhdx
- [Bug] Terminal tab animation missing after Claude CLI update
- unusually fast 30 minute token burn in Claude pro
- You've hit your limit · resets 1am (Asia/Seoul)
- Claude in Chrome: MCP server uses Unix socket paths instead of Windows named pipe (v2.1.37)
- Claude in Chrome: MCP client uses Unix socket paths instead of named pipes on Windows
- You've hit your limit · resets 1am (America/New_York)
- I appreciate you reaching out, but I'm unable to process this request. The text appears to be in Hungarian, and the content doesn't clearly describe a specific bug or feature request for Claude Code. To help you create a GitHub issue, please provide: 1.
- [Feature Request] Add Nushell support for tmux command chaining in team environments
- [Feature Request] Add /switch-dir command to quickly toggle between added directories
- [Feature Request] Add project-level tasks folder configuration support
- [Feature Request] Support wildcard/regex patterns for Unix socket path allowlisting
- [Bug] Bash tool fails to handle Windows backslash path separators
- [Feature Request] Improve Plan Mode constraint analysis for projects with external dependencies
- [Bug] Insecure shared temp directory allows cross-user profile access to tasks
- [Bug] MCP Supabase server leaks unauthorized project IDs across user sessions
- [Bug] Temporary files accumulating in temp directory with only directory paths
- [Bug] Memory leak when incomplete slash command left open in session
- [Feature Request] Add customizable keybindings for prompt submission and newline in CLI
- Skills not loading from .claude/skills/ directory
- [Feature Request] Improve Claude Code's frontend framework capability documentation and limitations disclosure
- [Feature Request] Add project isolation mode with --project-only flag
- [Bug] Hook error displayed on every run despite no hooks configured
- [Bug] Context window filling too rapidly after auto-compact in v2.1.2
- [Bug] Terminal lock when accessing /dev/tty* devices
- Can't view usage in claude code
- [BUG] Claude crashes if interrupted during command execution
- [BUG] Bug Report: Claude Code crashes with "Error: kill EPERM"
- Feedback: Incredible experience using Claude Code to contribute to sandbox-runtime
- [Bug] Output text truncation: missing characters in streamed responses
- [BUG]
- [Bug] Compaction fails with unclear error state
- [Feature Request] Display cursor bar indicator in Vim insert mode
- [Feature Request] Update window titlebar when chat name is changed
- [Feature Request] @directory mentions should include file list context in rules
- [Bug] PowerShell flicker when passing large text in compact command optional parameter
- [BUG] Claude Code crashes with unhandled EPERM when killing shell running as different user
- [Bug] Claude model performance degradation: inconsistent task understanding and resolution delays
- [Bug] Feedback submission fails with "Please try again later" error
- [Bug] Inaccurate PR approval status reporting without verification
- Windows corporate environment: Infinite EPERM retry loop with SessionStart hooks
- [Bug] Compaction fails when conversation exceeds maximum length
- [Bug] Backspace Input Handling Breaks During File Path Autocomplete
- Context Loss and Unintended File/Repo Manipulation in Claude Code
- [BUG] Terminal crashes with EPERM error when killing long-running sudo processes with timeout
- [BUG] SystemError: kill() failed: EPERM: Operation not permitted
- [Bug] Error: kill EPERM - Permission denied when trying to kill process on Linux
- Missing Tool Result Block for Tool Use ID toolu_01TFGNsBoef2dagoU5r6rQMb
- Session Persistence Failure: Unable to Recover from Prolonged API Error State
- [BUG] Claude code crashed.
- Segmentation Fault in Main Thread During Runtime
- [Bug] Claude Code CLI Crash When Killing Timed-Out Sudo Processes - EPERM Error
- Bug Report
- Windows: Incorrect /dev/null Redirection Creates Null Files in Bash Commands
- Agent Discovery Failure: No Agents Detected Across Project and Personal Scopes
- Missing Tool Result Block for Tool Use ID
- Invalid JSON Parsing Error During API Request Compaction
- Bug Report
- [BUG] Claude Code crashes when it can't find Claude.md
- [BUG] Edit/MultiEdit Tools Return False EPERM Errors
- Cursor Terminal: Scratchpad Creation Timeout Error in Cursor@1.1.6
- Performance Degradation in Theme Selection Window Across Terminals
- Incorrect Autocomplete: `/heat` Resolves to `/doctor`
- Persistent AI Hallucination and Context Truncation Across Claude Versions
- Keyboard Shortcut and Rule Configuration Persistence Broken After Reinstall
- Windows: CCD session host repeatedly exits killing live background tasks ('torn down with N live background task(s)') — Desktop 1.37937.3 / runtime 2.1.246, filesystem MCP relay flapping
- Starting a session in Claude Desktop revokes filesystem access from already-running CLI sessions (macOS TCC identity collision)
- Bash sandbox intermittently fails with apply-seccomp: unshare(CLONE_NEWUSER): Invalid argument
- [BUG] A dev container sharing ~/.claude deletes the session records of every live host session (PID-namespace mismatch; not fixed by #74566)