[PR #6349] fix: handle EACCES permission error when creating data directories #11850

Open
opened 2026-02-16 18:16:47 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6349

State: open
Merged: No


When ~/.local/share exists with restrictive permissions (e.g., created by PowerShell or uv), opencode crashes with an unhelpful EACCES error. This adds proper error handling that provides clear remediation steps.

Fixes #6343

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6349 **State:** open **Merged:** No --- When ~/.local/share exists with restrictive permissions (e.g., created by PowerShell or uv), opencode crashes with an unhelpful EACCES error. This adds proper error handling that provides clear remediation steps. Fixes #6343
yindo added the pull-request label 2026-02-16 18:16:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11850