{"type":"analysis","id":"analysis:research-claude-code-s-skip-permissions-flag-still-blocks-rm-on-critical-paths-unless-a","slug":"research-claude-code-s-skip-permissions-flag-still-blocks-rm-on-critical-paths-unless-a","title":"Claude Code's skip-permissions flag still blocks rm on critical paths unless a v2.1.311 env var opts out","description":"Bypass mode keeps a timed prompt-then-deny guard on deleting root, home or the working directory. Since v2.1.311 a launch-only environment variable removes it, with many documented conditions that keep it on.","published_at":"2026-11-09T19:00:00.000Z","updated_at":"2026-11-09T19:00:00.000Z","record_date":"2026-11-09","topics":["claude","claude_code","prompting","research"],"source_urls":["https://code.claude.com/docs/en/permission-modes","https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md","https://api.github.com/repos/anthropics/claude-code/releases/tags/v2.1.281","https://api.github.com/repos/anthropics/claude-code/releases/tags/v2.1.311","https://api.github.com/repos/anthropics/claude-code/releases/tags/v2.1.309"],"language":"en","routes":{"html":"https://newruntime.com/analysis/research-claude-code-s-skip-permissions-flag-still-blocks-rm-on-critical-paths-unless-a/","markdown":"https://newruntime.com/analysis/research-claude-code-s-skip-permissions-flag-still-blocks-rm-on-critical-paths-unless-a.md","json":"https://newruntime.com/analysis/research-claude-code-s-skip-permissions-flag-still-blocks-rm-on-critical-paths-unless-a.json"},"author":{"role":"author","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"editorial_provenance":{"desk":"authorial","target_ref":"deep_research:cae1e13d-79d0-427a-a80e-6d03b10257cf","authorial_article_id":"cae1e13d-79d0-427a-a80e-6d03b10257cf"},"next_reads":[{"type":"topic","path":"/topics/claude/","url":"https://newruntime.com/topics/claude/","title":"Claude","reason":"Explore the claude topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude.md","json_url":"https://newruntime.com/topics/claude.json"},{"type":"topic","path":"/topics/claude-code/","url":"https://newruntime.com/topics/claude-code/","title":"Claude Code","reason":"Explore the claude_code topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude-code.md","json_url":"https://newruntime.com/topics/claude-code.json"},{"type":"collection","path":"/analysis/","url":"https://newruntime.com/analysis/","title":"Analysis","reason":"Open the latest authorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/analysis.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
