flathub / org.polymc.PolyMC

https://flathub.org/apps/details/org.polymc.PolyMC
7 stars 12 forks source link

Is permission device=all necessary? #29

Closed Theta-Dev closed 2 years ago

Theta-Dev commented 2 years ago

I have just installed PolyMC on my new system and looked through the flatpak permissions. I noticed that PolyMC has the device=all permission, which grants the application access to all devices, including cameras, which can be a privacy risk.

So I disabled access to all devices with this command (device=dri is necessary for OpenGL) and everything works just fine.

sudo flatpak override --nodevice=all --device=dri org.polymc.PolyMC

Is that permission necessary for features that I'm not aware of (gamepad access, maybe?) If that is the case, I would suggest adding a comment to explain it.

d-513 commented 2 years ago

I think gamepad access and microphones (for mods such as plasmo voice). I don't have any notes about why I did this, so I don't remember fully though

Theta-Dev commented 2 years ago

Alright. Then I'll simply override it for my personal use. Thanks for the info.