Hi,
OpenCode requires these permissions:
- --filesystem=/media
- --filesystem=/mnt
- --filesystem=/run/media
I removed these permissions on my end, and everything works as expected, even with projects running from a USB stick.
I guess that if we can remove them, it would help clean up some scary nonsense on Flathub. Like this one:

Hi,
OpenCode requires these permissions:
I removed these permissions on my end, and everything works as expected, even with projects running from a USB stick.
I guess that if we can remove them, it would help clean up some scary nonsense on Flathub. Like this one: