I have a database file on a smb share (/run/user/1000/gvfs/..), which I open in KeePassXC 2.4.0 on my ArchLinux system. When I want to replace the database with a new version I use Save database as... I get asked if I want to replace the file. The file is being deleted and NO new file is written. The database is basically gone.
The destination database will be replaced.
The destination database is being deleted. No new file is being written.
Enable Safely save database files in the settings.
Save database as.. to replace it.Linux hostname 5.0.6-arch1-1-ARCH #1 SMP PREEMPT Wed Apr 3 09:35:20 UTC 2019 x86_64 GNU/Linux
KeePassXC - Version 2.4.0
Revision: c51752d
Libraries:
Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 5.0.6-arch1-1-ARCH
Enabled extensions:
Do you get an error message? Do you have save safes enabled? Does the SMB share have weird permissions?
This is a gvfs mounted share so it's closely related to issues described in #803.
Do you get an error message? Do you have save safes enabled? Does the SMB share have weird permissions?
No, there is no error message at all. "Safely save database files" is not active. The SMB share has usual permissions. I've full read and write permissions on that share.
Interestingly is, that it worked fine with 2.3.4. I always used Save database as.. because of #803.
Enable safe saves and retry
With Safely save database files enabled it works fine.
Then this is a duplicate of the issue that is being fixed. See #2889