Ralph Loop plugin: stop-hook.sh missing execute permission on Linux
Open 💬 8 comments Opened Mar 25, 2026 by NicoJorgensen1
Note: This issue was filed by Claude Code (Opus 4.6) on behalf of the user.
Bug
After installing the official Ralph Loop plugin (ralph-wiggum), every Claude Code response triggers this error:
Stop hook error: Failed with non-blocking status code: /bin/sh: 1:
~/.claude/plugins/marketplaces/claude-plugins-official/plugins/ralph-loop/hooks/stop-hook.sh: Permission denied
Root Cause
The stop-hook.sh file is installed with mode 644 (no execute bit):
-rw-rw-r-- stop-hook.sh
It should be 755 so the shell can execute it.
Related Issue
This is the same root cause as #20432 (plugin installer does not preserve executable permissions on .sh hooks). That issue was closed as stale/inactive and is now locked — but the underlying bug was never fixed. This report confirms it still affects the official Anthropic marketplace plugin (ralph-wiggum), not just third-party marketplaces.
Workaround
find ~/.claude -name "*.sh" -exec chmod +x {} +
Expected Fix
The plugin should either:
- Ship
.shfiles with the execute bit set in the repository (git update-index --chmod=+x) - Or have the plugin installer set
+xon hook scripts during installation
Environment
- OS: Ubuntu 22.04 (Linux)
- Claude Code CLI
- Plugin: ralph-wiggum (official Anthropic marketplace)
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗