Databases on Proton Drive are always read-only
Describe the bug
When opening a database from Proton Drive (which is in the standard file manager), the database seems to open read-only. The RO flag is unset when unlocking the database. When attempting to save an entry, a red error banner appears at the bottom of the screen. Due to the UI elements, I can only read the text "s not supported, c". As I back out of a test entry or lock the database, KeePassDX prompts a save, but shows the same error.
To Reproduce
Steps to reproduce the behavior:
- Acquire a ProtonMail account with Proton Drive support
- Install the Proton Drive Android app
- Copy a database into a folder in Drive
- Open the database with KeePassDX
- Attempt to save the database, which gives an error
Expected behavior
Well, I'd like the database to be saved.
KeePass Database
- Created with: KeePass on Windows, honestly no idea what version, years ago
- Version: KDBX 4
- Location: Remote file opened through standard file manager
- File provider (
content://URI): Not sure how to find this - Size: 224k
- Contains attachment: No
KeePassDX:
- Version: 4.0.5
- Build: Both Libre and Free
- Language: English
Android:
- Device: OnePlus 6T
- Version: 11
Additional context
Utilizing the database works fine, and the autofill is nice. I've read your page about File Managers and Sync, so I realize this may be a Proton problem, but I'm not really sure to start. My other file provider on my phone, OneDrive, doesn't have this problem.
I have the exact same issue on my Pixel 7 Including the UI issue.
This is a problem in the Proton application, which provides the file in read-only mode. Contact their teams. https://github.com/Kunzisoft/KeePassDX/wiki/File-Manager-and-Sync