I’ve had a few users and developers report that they can’t use snapped applications because their data is held on a remote server, and the client cannot see the files. This is typically because the user has manually mounted the remote directory using their file manager.
Steps to reproduce, on Ubuntu 19.10.
- Have a remote samba share on your network containing an image
- Using the file manager, navigate to the samba share such that you now have a filesystem mounted in
/run/user/$UID/gvfs. Observe that the mounted folder shows up in the side bar in the file manager.
- Install GIMP snap and launch it
- File -> Open in GIMP.
- Note that the previously mounted folder doesn’t show up in the side bar
- Note that
/runcan’t be navigated to in the file open dialog (although
/run/user/$UID/gvfsis browseable, and files can be opened).
What methods can we use to expose the mounted nfs / samba filesystems to the snap. Using
removable-media isn’t sufficient.