I am unable to access files outside of the home directory and the app's special snap directory. I am trying to open a KeePass file on a second hard drive which is mounted at /media/me/storage by Ubuntu.
The ability to gain access to files on the network or on other hard disks.
No files or folders are visible outside of ~/ and ~/snap/keepassxc/n/.
I'm not sure how Snap works but ideally you would be able to specify that certain locations are okay for the app to access.
I just want to be able to open KeePass files from other places
Ubuntu 17.04
KeePassXC 2.1.4
Revision: cb283bb95ae559d044415f426f841c27bff383f0
Using:
Extensions:
You have to explicitly type in the directory name in the open dialog in order to get there. This is a limitation in the snap system unfortunately. Arbitrary directories under / are still restricted though. /home and /media are accessible.
@droidmonkey Thanks, that workaround worked! I've also just seen similar recent issues #547 #526 #400
I think it's clear that there is a substantial usability issue with the snap package under not-uncommon use cases. There is no documentation on how to deal with mounted devices. I fear that many more issues will be opened that are basically this until documentation is added front and centre on the snap package.
I suggest the download the snap package has a small link to important notes which will mention how to use this. What do you think?
This issue is common to ALL snaps. I am providing feedback to the snapd developers on this and other issues.
Maybe we can include this in the FAQ on the website?
Yah that would be great
I had the same issue in Ubuntu 18.04, but the solution was different: I opened the Software Center and opened keepassxc in the Software Center. There you have the possibility to adapt the "rights" of the app. Just enable the right to access USB and external storage.
Oh great, I am glad they finally added a permissions tool. Snaps and Ubuntu Store are evolving constantly and this is a very old issue (in that regard).
Most helpful comment
I had the same issue in Ubuntu 18.04, but the solution was different: I opened the Software Center and opened keepassxc in the Software Center. There you have the possibility to adapt the "rights" of the app. Just enable the right to access USB and external storage.