PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.7k stars 378 forks source link

kdbx file is read only due to android4.4+ restrictions and access denied #2205

Open Sylvain-27 opened 1 year ago

Sylvain-27 commented 1 year ago

Hello, I renamed my keepass database to download a version of my drive, but both databases give me this error message:

kdbx file is read only due to android4.4+ restrictions

Now when I want to open one or the other base, I have an "access denied". The display of the message is very short.

What is the way to resolve this error?

PhilippC commented 1 year ago

which Android version do you have? Where is the database stored?

Sylvain-27 commented 1 year ago

Hello, I have android 10 I guess since Huawei hides this information. Usually my database is in the folder: /document/perso/ I tried to download my base that I share with my linux pc in the folder at the root: /Download/ I have the same restriction denial on Android 4.4+ It's a deny loop no matter where I copy my file.

Sylvain-27 commented 1 year ago

Hello,

Now I can no longer access my initial keepass database. This database has not been moved but I have access denied after entering my password.

So, I no longer have access to my passwords on my android at all.

Can you help me ?

th1031 commented 1 year ago

This happened to me short time ago but it was my mistake. I sometimes ftp a new newer, aes-encrypted file to my phone, which I have to decrypt before opening it in keepass2-android. My mistake was using my aescrypt password to try to open the database. The error message was "file is read only due to android4.4+ restrictions" and then something like "copy somewhere else to open." Perhaps the software error message could be updated to reflect (in my case at least) the real reason for failure to open. Supplying the correct database passphrase opened it successfully. This may not be relevant to your situation but I thought I'd comment because of similar error messages..

Sylvain-27 commented 1 year ago

@PhilipC

Hi,

I have not had an answer to my problem for several weeks. There was no update in the Play Store either.

It's a shame, I've been using Keepass for many years. I started with Windows 7.

I no longer have access to my passwords stored in my android. Now, it's no longer embarrassing, it's disabling.

Are you going to develop a fix or should I start considering migrating to another password manager?

Looking forward to.

PhilippC commented 1 year ago

local file access is more and more difficult on Android. Maybe you can check if there are any permissions (related to file access) which you need to enable. If that doesn't help, I suggest you store the file on your Linux PC and share it via SFTP or other protocols (KP2A will keep a cached copy when you don't have connection to the PC through WIFI), or you move it to the cloud.