flathub / flathub/ai.opencode.opencode
Do we really need /mnt permissions?
未關閉
- 主要語言
- Python
- 星號
- 1
- 分支
- 3
- 平均合併
- 22 小時 35 分鐘
- 30 天內合併 PR
- 3
描述
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:
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
檢查應用程式針對 /media、/mnt 和 /run/media 的 Flatpak 權限宣告,然後驗證 USB 儲存裝置上的專案在沒有這些權限的情況下是否仍能正常運作。完成的標準是移除不必要的權限,同時這些專案情境繼續正常運作;在 issue 討論串中確認任何剩餘的邊界情況。
由索引模型根據 Issue 內容生成。
評估
- 領域
- desktop, security
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100