You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent writes tmp files to /tmp instead of /tmp/opencode #44644
@rekram1-node told me here #28173 (comment) that opencode instructs agents to always use /tmp/opencode. It blocks the workflow if I need to give permission to access /tmp.
Plugins
only default internal ones
OpenCode version
1.18.18
Steps to reproduce
Happens from time to time, no idea how to reproduce...
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.
Activity
ptandler commentedon Aug 24, 2026
happened again today
ptandler commentedon Aug 25, 2026
it's really rather random: sometimes it takes
/tmp/opencodeas it should, but at leaset 2, 3 times per day also/tmpdirectlythdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊