{"version":"2.1.331","anchor":"private-temp-folder-gated-by-bot-protected-tengu-tidy-meteor","canonical_anchor":"private-temp-folder-gated-by-bot-protected-tengu-tidy-meteor","heading":"Temporary folder may need to be private to you","tier":"notice","area":"Environment","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/private-temp-folder-gated-by-bot-protected-tengu-tidy-meteor","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Temporary folder may need to be private to you\n\nOn macOS and Linux a remote switch can make Claude Code refuse a temporary folder it can't use safely, pointing you to `CLAUDE_CODE_TMPDIR`\n\n**Unclear.** It is not known whether this check is switched on by default.\n\n**What**\n\nOn platforms other than Windows, the way Claude Code picks its temporary folder can now depend on a remote switch. When that applies and the folder cannot be used, Claude Code stops with an error telling you to restart with `CLAUDE_CODE_TMPDIR` set to a folder only you can write to.\n\n**Why**\n\nThis tightens security around temporary files, so other users on the same machine cannot interfere with them. If you see this error, setting `CLAUDE_CODE_TMPDIR` to a private folder fixes it.\n\n- Area: Environment\n- Names: `CLAUDE_CODE_TMPDIR`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}