flathub / flathub/ai.opencode.opencode

Do we really need /mnt permissions?

Đang mở
#10 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1
Fork
3
Merge trung bình
22 giờ 35 phút
Pull request đã merge (30 ngày)
3

Mô tả

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:

Image

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
desktop, security
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.