Skip to content

Allow writes to /tmp by default without permission prompt #5386

@remorses

Description

@remorses

Currently opencode prompts for permission when the model writes to /tmp. Models frequently use /tmp for temporary files during tasks, and requiring approval adds friction without meaningful security benefit since /tmp is ephemeral and outside the user's project.

Writes to /tmp (and $TMPDIR) should be allowed by default.

Related: #4743

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions