Vendored ripgrep binary installed without execute permission
Resolved 💬 2 comments Opened Apr 1, 2026 by BeRightOnce Closed Apr 18, 2026
Description
Claude Code updates install the vendored ripgrep binary (vendor/ripgrep/arm64-darwin/rg) with -rw-r--r-- permissions instead of -rwxr-xr-x. This breaks:
- Slash command / skill discovery — all custom commands in
.claude/commands/disappear - Glob tool — returns
spawn .../vendor/ripgrep/arm64-darwin/rg EACCES
Reproduction
- Update Claude Code (e.g., via npm)
- Check permissions:
ls -la ~/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg - Observe
-rw-r--r--(no execute bit) - Launch Claude Code, type
/— no custom commands appear - Fix:
chmod +x ~/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg - Relaunch — commands reappear
Expected behavior
The vendored ripgrep binary should be installed with execute permissions, or Claude Code should set the execute bit after installation.
Environment
- Claude Code v2.1.89
- macOS (Darwin 23.6.0, arm64)
- Node v24.6.0 via nvm
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗