[BUG] Shell tool is returning no output in arch

Resolved 💬 2 comments Opened May 8, 2026 by PookMook Closed May 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

My CC instance suddenly has no access to the shell anymore

What Should Happen?

Should be able to access the shell (running git commands and mkdir and such)

Error Messages/Logs

▐▛███▜▌   Claude Code v2.1.133                                                                       
▝▜█████▛▘  Opus 4.7 (1M context) · Claude Team                                                        
  ▘▘ ▝▝    ~/git/private-repo                                                                 
                                                                                                      
❯ can you list the files in this directory?                                                           
                                                                                                      
  Listed 4 directories, ran 3 shell commands                                                          
                                                                                                      
● Bash is failing silently. Let me try with sandbox disabled.                                         
                                                                                                      
  Listed 1 directory                                                                                  
                                                                                                      
● Explore(List directory files)                                                                       
  ⎿  Done (6 tool uses · 45.9k tokens · 14s)                                                          
                                                                                                      
                                                                                                      
● The Bash tool is failing with no output for any command, even echo "hello". This looks like an      
  environment/sandbox issue rather than something I can work around.                                  
                                                                                                      
  Could you try running ls yourself, or let me know if there's a hook blocking Bash that I should look
   at?                                                                                                
                                                                                                      
✻ Churned for 50s

Steps to Reproduce

Be on arch linux, upgrade to v2.1.133 (auto update for me yesterday) and it stops working

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.132

Claude Code Version

2.1.133 (Claude Code)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

Thought this might be hooks related and nuked all of my hooks, no success

{
  "permissions": {
    "defaultMode": "auto"
  },
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Read",
        "hooks": [
        ]
      },
      {
        "matcher": "Write|Edit",
        "hooks": [
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Write|Edit",
        "hooks": [
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
        ]
      }
    ]
  },
  "enabledPlugins": {
    "vercel@claude-plugins-official": false 
  },
  "tui": "fullscreen",
  "skipAutoPermissionPrompt": true,
  "skipDangerousModePermissionPrompt": true
}

View original on GitHub ↗

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