flathub / flathub/ai.opencode.opencode
Do we really need /mnt permissions?
- Vorherrschende Sprache
- Python
- Sterne
- 1
- Forks
- 3
- Ø Merge
- 22 Std. 35 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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:
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Review the app's Flatpak permission declarations for /media, /mnt, and /run/media, then verify whether projects on USB storage still work without them. Done means unnecessary permissions are removed while those project scenarios continue to function; confirm any remaining edge cases in the issue thread.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- desktop, security
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100