profile
viewpoint

Ask questionsDatabase opens in read-only mode when accessed remotely using 'dav' protocol

When the database file is stored on a remote host accessed through the DAV protocol the file is always opened in read-only mode. If I save the file with a different filename the file stays in write mode until I close it. When I reopen the (second) file it opens in read-only mode. Ownership and file permissions are always the same in both files (opened or closed).

The client used to access the remote file is the built-in Gnome Online Accounts (nextcloud account) which maps the remote location to a local link like: /run/user/1000/gvfs/dav:host={host},ssl=true,user={user},prefix=%2Fremote.php%2Fwebdav/{folder}

Expected Behavior

The file opens in 'rw' mode.

Current Behavior

The file opens in 'ro' mode

Steps to Reproduce

  1. Connect to a nextcloud account in Gnome Online Accounts.
  2. Using KeePassXC open a .kbdx file from the remote location.
  3. The file opens in read-only mode.

Context

This only happens when accessing the database file through Gnome's Online Accounts (which uses the DAV protocol).

Debug Info

KeePassXC - 2.4.3 Revision: 5d6ef0c

Libraries:

  • libgcrypt 1.8.1

Operating system: Pop!_OS 18.04 LTS CPU architecture: x86_64 Kernel: 5.0.0-23-generic

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey
keepassxreboot/keepassxc

Answer questions ckoul

Closing, as the problem probably lies on the way Gnome Online Accounts client connects to the webdav folder.

useful!

Related questions

KeePassXC-Browser, Firefox Add-On - message "Timeout or not connected to KeePassXC" hot 1
Unable to open the database. No root group. hot 1
KeepassXC as libsecret implementation doesn't return secret when searching by some attributes hot 1
SSH Agent integration does not work with snap build hot 1
Can't open password database which looks fine in KeePass hot 1
keepassxc snap browser integration in Vivaldi gives error message hot 1
how to use keeshare hot 1
Improve support for Macbook Pro TouchID hot 1
keepassxc as pinentry for gpg hot 1
Make KPXC databases accessible via libsecret/DBus hot 1
macOS 10.15: Auto-type requires screen reader permission hot 1
HMAC Mismatch occurs on computer restart, and the kbdx file cannot be opened or repaired. hot 1
QObject::startTimer message when run in console hot 1
Unable to connect to KeePassXC-Browser hot 1
Github User Rank List