←Story detail

Trending story

Claude Code fixes sandbox Bash command startup file issue

1 reports1 story updatesUpdated Oct 23 06:18

Understand this story

AI overview

Claude Code released v2.1.309, which fixes an issue on macOS and Linux where sandboxed Bash commands ran shell startup files outside the sandbox before each command was executed. The same version also fixes an issue on macOS where sandbox denyWrite glob patterns did not take effect when passing through symbolic links, as well as issues where sandboxed commands and automatically accepted edits could modify the MCP configuration file passed in via --mcp-config, and where disabled MCP servers were reconnected by subsequent permission prompts. In addition, many git commands run by Claude Code itself on Windows are now faster. The version has now been released, and the relevant fixes take effect with the version.

AI-generated from public reports

Latest development · Report

Claude Code v2.1.309 Released: Fixes Multiple Issues Including Sandbox and Permission Checks

Developments

1 confirmed developments

  1. Claude Code fixes sandbox Bash command startup file issue

    Source:Claude Code:GitHub Releases

Reports and discussion timeline

Browse reports and discussion by time. Their evidence levels remain distinct.

Oct 23

  1. Claude Code:GitHub ReleasesFirst-party

    Claude Code v2.1.309 Released: Fixes Multiple Issues Including Sandbox and Permission Checks

    Claude Code v2.1.309 has been released, primarily fixing an issue where sandboxed Bash commands on macOS and Linux executed shell startup files outside the sandbox before each command, as well as an issue where macOS sandbox denyWrite glob patterns did not take effect through symbolic links. This version also fixes issues where sandboxed commands and auto-accepted edits could modify the MCP configuration file passed via --mcp-config, and where disabled MCP servers were reconnected by subsequent permission prompts. In addition, many git commands run by Claude Code itself on Windows have been sped up.

Related stories

  1. Related storiesClaude Code adds the /claude-api api-version command
  2. Related storiesGoogle opens Gemini 4 Argon to developers
  3. Related storiesAnthropic releases Claude Opus 5.5
  4. Related storiesEnglish translation is being prepared.