Skip to content

Commit 2314235

Browse files
committed
fix(lib): chown opencode auth after auto-connect
1 parent 7ceab74 commit 2314235

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/lib/src/core/templates-entrypoint/opencode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ const entry = {
167167
opencode.openai = entry
168168
writeJsonAtomic(opencodePath, opencode)
169169
NODE
170+
chown 1000:1000 "$OPENCODE_SEED_AUTH" 2>/dev/null || true
170171
fi
171172
172173
# OpenCode: ensure global config exists (plugins + permissions)

0 commit comments

Comments
 (0)