-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save a copy to results in empty file with read only mode #1666
Comments
I had a similar bug or something like this |
I just tested on several devices and I have no problems. Does it work with a new database? |
Several people have also reported the problem to me and have Xiaomi (you are not afraid to choose this type of equipment :D) Linked to : #1620 |
A new database makes no difference. I can also export attachments from my database. So there's no general problem for KeePass writing files or with specific folders. It's just the Save a copy function that fails. I looked at logs with logfox but couldn't find anything that seemed relevant to me. |
I found out what's causing this: My KeePassDX settings are set so that database are opened in read-only mode by default. Interestingly this is what prevents the copy function from working. It doesn't prevent creating a new vault though. I still think of this as a bug especially as there's no warning but the workaround is simple once you know about it: Open the database in writable mode. |
Hoo I see. This is indeed a bug that needs to be fixed. I'll take care of it and make it a priority. |
Fixed in develop : 7198fff |
Using the built-in function "Save a copy to" to create a copy of the database results in an empty file regardless what storage is used ( internal or SDHX card). I tried with two different databases.
Steps to reproduce the behavior:
I expected KeePassDX to create an identical copy of the database just like copying the file with a file manager.
KeePass Database
content://
URI): content://com.android.externalstorage.documents/document/primary:KeePass/KeePass-Database.kdbxKeePassDX:
com.kunzisoft.keepass.free
Installed: 12 Oct 2023; 11:30
Installed from Google Play Store
Android:
The text was updated successfully, but these errors were encountered: