Skip to content

[FEATURE]: allow /tmp or $TMPDIR folder access option #4743

@jiyeol-lee-kds

Description

@jiyeol-lee-kds

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Can we have an option to allow write access under /tmp or $TMPDIR to when they are outside of current project directory? Or we can also make the external_directory more extensible like the following

{
  "$schema": "https://opencode.ai/config.json",
  "permission": {
    "external_directory": {
      "env:$TMPDIR": "allow",
      "/tmp": "allow",
      "*": "allow",
    }
  }
}

What do you guys think?

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions