[Bug] Hook execution fails with "Operation not permitted" on missing/inaccessible hook file
Status Open
Reported on v2.1.286
Maintainer reply None cached
Activity 0 comments · opened Oct 1, 2026
Bug Description
My tmux sessions keep getting locked out almost daily wit these errors:
UserPromptSubmit operation blocked by hook: [python3 /Volumes/Apps/claude/hooks/task-notifier.py]: /opt/homebrew/Cellar/python@3.14/3.14.7/Fr
ameworks/Python.framework/Versions/3.14/Resources/Python.app/Contents/MacOS/Python: can't open file '/Volumes/Apps/claude/hooks/task-notifier.py': [Errno 1] Operation not permitted
Environment Info
- Platform: darwin
- Terminal: ssh-session
- Version: 2.1.286
- Feedback ID: ac2ec7c1-6279-4d10-8adf-806728f6129b
Errors
[]