Results 1 to 4 of 4

Thread: Can't unlock KeepassXC file stored on NTFS volume mounted in Ubuntu

  1. #1
    Join Date
    Dec 2005
    Location
    Tokyo
    Beans
    102

    Question Can't unlock KeepassXC file stored on NTFS volume mounted in Ubuntu

    In Ubuntu 19.10, I can't unlock a password-protected KeepassXC file stored on a mounted NTFS volume, but if I copy it to an ext4 volume I can open it. I can read and write other file types to the NTFS volume (e.g., odt).
    The NTFS partition is mounted in fstab as:
    Code:
    ntfs auto,user,rw 0 0
    What permissions/options need to be changed in order to unlock the password-protected KeepassXC file on NTFS from within Ubuntu?

    EDIT
    SOLUTION

    1. Open Ubuntu Software app and find KeePassXC
    2. Click on Permissions
    3. Toggle "Read/write files on removable storage devices" to on
    Last edited by linuxguiri; February 10th, 2020 at 05:45 AM. Reason: Found solution

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't unlock KeepassXC file stored on NTFS volume mounted in Ubuntu

    https://github.com/keepassxreboot/keepassxc/issues/803 may or may not be related. It seems to be a similar issue for DBs on Samba going through gio/gvfs. They describe it as an upstream issue in the Qt File module.

    If you manually mount the partition, directly, does that help?
    Code:
    sudo mount -t ntfs /dev/somethng /mnt
    I don't have any NTFS here to test. I use rsync to copy the DB to 6 different locations every night, so it massively backed up and available as needed. In my mind, there is only 1 system where changes to the DB are allowed.

    Reading more there,
    disabling the option Use file transactions for writing databases
    Doing that scares me. A DB that doesn't support transactions is asking for corruption problems.
    Last edited by TheFu; February 7th, 2020 at 02:04 AM.

  3. #3
    Join Date
    Dec 2005
    Location
    Tokyo
    Beans
    102

    Re: Can't unlock KeepassXC file stored on NTFS volume mounted in Ubuntu

    Thanks for finding that issues page, TheFu! Well, at least it's not just me.
    As a workaround, I ended up using a syncing service to sync the file to the ext4 volume when in Ubuntu and to the NTFS volume when in Windows.
    Thanks again!

  4. #4
    Join Date
    Dec 2005
    Location
    Tokyo
    Beans
    102

    Smile Re: Can't unlock KeepassXC file stored on NTFS volume mounted in Ubuntu

    SOLUTION
    1. Open Ubuntu Software app and find KeePassXC
    2. Click on Permissions
    3. Toggle "Read/write files on removable storage devices" to on

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •