From fe9b4df18f245df91ab37b1024c7f2f9f945972d Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Sat, 24 Oct 2026 12:18:44 -0700 Subject: [PATCH] fix: create Codex cache parent for fresh homes --- src/backends/profile-support.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backends/profile-support.ts b/src/backends/profile-support.ts index c354131..d6a2764 100644 --- a/src/backends/profile-support.ts +++ b/src/backends/profile-support.ts @@ -2128,8 +2128,7 @@ function stableTmpRoot(): string { if (home) { try { const cache = join(home, '.cache') - // Don't mkdir — cli-bridge runs on hosts that always have - // ~/.cache (we don't ship a polyfill for first-boot Linux). + mkdirSync(cache, { recursive: true, mode: 0o700 }) return cache } catch { // fallthrough