v2.1.89: Vendored ripgrep binary missing execute permission on Linux
Resolved 💬 2 comments Opened Apr 1, 2026 by GuideThomas Closed Apr 18, 2026
Bug Report
Version: Claude Code v2.1.89
Platform: Linux (Ubuntu 22.04, Docker container)
Problem
The vendored ripgrep binary at vendor/ripgrep/x64-linux/rg is installed without execute permission (-rw-r--r-- instead of -rwxr-xr-x).
This breaks:
- Glob tool —
spawn rg EACCES - Grep tool — same error
- Custom Commands discovery — all slash commands from
.claude/commands/return "Unknown skill"
Essentially all search functionality and custom commands are broken on Linux.
Reproduction
npm install -g @anthropic-ai/claude-code@2.1.89
ls -la /usr/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg
# Shows: -rw-r--r-- (no execute bit)
Workaround
chmod +x /usr/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-linux/rg
Expected Behavior
The rg binary should have execute permission after npm install.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗