How to get access to USB-storage from an application installed as Snap?

So we need special prepared Snap with support of removable-media connector/interface/plugin.

Below is a list of Snap with removable-media plug described in YAML-manifest :

  • vlc - VLC
  • firefox - Firefox
  • gimp - GIMP
  • mdl - Markdown lint tool
  • offlineimap - OfflineIMAP
  • magic-wormhole - Magic Worm Hole
  • mattermost-desktop - Mattermost
  • storjshare-gui - Storj
  • opentoonz - OpenToonz
  • opentoonz-morevna - OpenToonz - Morevna Edition
  • obs-studio - OBS Studio
  • steamforwindows - Steam for Windows under Wine
  • chromium
  • zotero-snap - Zotero
  • libreoffice - libreoffice-snap

One can find other Snaps released by SnapCrafters with the following GitHub search link.


So if the application does not have auto-connect of removable-media we need to connect it manually with:

snap connect some-snap-name:removable-media

But not all applications have this plug/interface in YAML-manifest.


It is hard to find packages by supported plugs - so I created issue "Add ability for parametric Snap search with filters (plugs, such as removable-media and so on)" about snapcraft.io site.

The bug about snap command named "snap should provide functionality to find packages with needed plug or connector" was filed to launchpad as bug 1776938.


The Ubuntu Software program will now show a Permissions button on the page of each Snap program you have installed.

the Krita page of Ubuntu Software program showing the buttons under the title - Launch, Remove, and Permissions

Click on Permissions, and a pop-up window gives you the option 'Read/write files on removable storage devices', with a button to the right that you click to turn this on.

enter image description here

You need to activate each program one by one this way, but there is nothing special to remember, other than that the button exists.


The interface which needs to be connected is removable-media.

Can access files from removable media in /media and /run/media. This can be used to give an app access to mounted USB sticks and external hard drives on a desktop.

The mount-observe interface only lets you view what is mounted, not access mounts:

Can query system mount information. This is restricted because it gives privileged read access to mount arguments and should only be used with trusted apps.

Neither of these two interfaces will auto-connect. From https://github.com/snapcore/snapd/wiki/Interfaces#removable-media