USB/Removable Drive Access #400

Closed
Huxly72 opened this Issue Mar 15, 2017 · 6 comments

Comments

4 participants

Huxly72 commented Mar 15, 2017

i feel like i am just missing something really obvious here...but i cant seem to find it :(

Expected Behavior

Open a db or key file from an external removable usb drive

Current Behavior

When i try to open a db for key file from a usb drive, i cannot see the drive, i am restricted to my home folder only.

Possible Solution

Steps to Reproduce (for bugs)

  1. Attach usb drive with key file on it
  2. start keepassxc
  3. Click 'browse' (for key file)
  4. Cannot see the usb drive that is mounted in /media/username/

Context

Cannot open db file or key file

Your Environment

  • KeePassXC version/commit used: 2.1.3
  • Qt version (e.g. Qt 5.3): 5.6.1
  • Compiler (e.g. Clang++3.6.0): snap 2.23.1
  • Operating System and version: Ubuntu 16.04 LTS 64bit
  • Other
    • my home folder is encrypted (using built in ubuntu feature)
    • i see that snap has a removable-media interface now, but it doesnt seem to be available as a plug for keepassxc
Owner

phoerious commented Mar 15, 2017

Try our AppImage and see if it works. Snap packages have dedicated permission management and you might not have the needed permissions to access USB drives.

Huxly72 commented Mar 15, 2017

yes, it does work from the appimage. perhaps you could add the removable-media interface as a plug for the snap package in a future release?

https://github.com/snapcore/snapd/wiki/Interfaces#removable-media

@phoerious phoerious added this to the v2.2.0 milestone Mar 15, 2017

Owner

droidmonkey commented Mar 15, 2017

Ugh so many plugs....

@droidmonkey droidmonkey added distribution and removed GNU/Linux labels Apr 9, 2017

colinl commented Apr 25, 2017

This also affects permanently mounted network drives, not just removable USB drives.

Owner

droidmonkey commented Apr 26, 2017

I'm just going to inject this into the current 2.1.4 release so that we get it up and running.

Owner

droidmonkey commented Apr 26, 2017

OK, the snap has been updated in the store to include the removable-media plug. Since it is NOT auto connected, you have to manually execute the following command after installation to use it:

sudo snap connect keepassxc:removable-media :removable-media

Based on my limited testing it also appears that you need to manually type in /media into the filename entry of the open file window to actually see the drive...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment