snap: add the removable-media plug (#10377)

This interface allows the snap to access the directories in /media. This is needed when the storage is in a separate disk, not part of home.
This commit is contained in:
Leo Arias 2019-02-20 02:49:54 -06:00 committed by 5chdn
parent ca67dc251f
commit b4520c5886
1 changed files with 5 additions and 5 deletions

View File

@ -14,20 +14,20 @@ description: |
apps:
parity:
command: parity
plugs: [home, network, network-bind, mount-observe, x11, unity7, desktop, desktop-legacy, wayland]
plugs: [home, network, network-bind, mount-observe, removable-media, x11, unity7, desktop, desktop-legacy, wayland]
desktop: ./usr/share/applications/parity.desktop
parity-evm:
command: parity-evm
plugs: [home, network, network-bind]
plugs: [home, network, network-bind, removable-media]
ethkey:
command: ethkey
plugs: [home]
plugs: [home, removable-media]
ethstore:
command: ethstore
plugs: [home]
plugs: [home, removable-media]
whisper:
command: whisper
plugs: [home, network-bind]
plugs: [home, network-bind, removable-media]
icon: ./scripts/snap/icon.png