11

One of the promoted advantages of Snap packages is the sandboxing-feature, where a Snap program may not be able to access as much system information as a package from the repository.

Now, I have read a lot about permission problems with Snap software and how to fix them, but I don't know where to find actual information on what permissions a specific Snap package has.

The Snapcraft-website is also very brief about this.

As one concrete example: How can I find out what permissions the Discord Snap gets and (how) am I able to modify those permissions to basically only allow Pulseaudio/microphone access? (Because that's all it needs to have.)

Prototype700
  • 1,120

1 Answers1

11

Thanks to the link above to the documentation, IĀ found this command to enable microphone access to the new chromium snap:

snap connections chromium  # to list existing permissions
sudo snap connect chromium:audio-record :audio-record  # to enable

The app must be restarted for new permissions to take effect.

(I'm not happy it took this long to find the answer, nor how obtuse the docs are.)

Pablo Bianchi
  • 17,371