-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
"Permission denied" when trying to open read only password database #1187
Comments
It's possibly lock file creation that fails. |
We really need to get rid of the lock file |
I'm not able to duplicate this bug. When I open a database file from a USB drive mounted read-only, it opens the database in read only mode (seen in the window title bar) and the save button acts like a "Save As" button. My versions of os, kernel and source are identical to yours. I scanned through the database open and the lock file creation code and all of the correct fall back to read only bits seem to be in place. That error message specifically comes from the QFile.open function call (gui/DatabaseTabWidget.cpp:150). QT is returning the "Permission Denied" portion of the message. What file system and mount options are you using for the USB drive? |
Mount info:
|
Was this fixed by #1231? |
Yes, thank you! Apropos, the message saying that the file was opened read-only disappeared after about 300 ms without any user intervention. |
Steps to Reproduce (for bugs)
Expected Behavior
The password database should open just fine.
Current Behavior
KeePassXC reports as follows:
Possible Solution
Copy the database to a writeable file system, open it there, and shred it once you're done.
Context
Debug Info
KeePassXC 2.2.2
Operating system:
CPU architecture:
Kernel:
Enabled extensions: None
The text was updated successfully, but these errors were encountered: