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:

  1. Slash command / skill discovery — all custom commands in .claude/commands/ disappear
  2. Glob tool — returns spawn .../vendor/ripgrep/arm64-darwin/rg EACCES

Reproduction

  1. Update Claude Code (e.g., via npm)
  2. Check permissions: ls -la ~/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg
  3. Observe -rw-r--r-- (no execute bit)
  4. Launch Claude Code, type / — no custom commands appear
  5. Fix: chmod +x ~/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg
  6. 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

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗