Skip to content
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

Keeweb not opening read-only databases #196

Open
hublol opened this issue Jan 3, 2022 · 4 comments
Open

Keeweb not opening read-only databases #196

hublol opened this issue Jan 3, 2022 · 4 comments

Comments

@hublol
Copy link

hublol commented Jan 3, 2022

Hi,

I am using Nextcloud Hub II (23.0.0) and Keeweb 0.6.8.
Everything is working fine when I try to open a database with read-write access.
But when the database file is read-only, the file is not opening in Keeweb. Instead, I get the download dialog.

Not sure if the problem is coming from Nextcloud or from Keeweb, but I need to grant access to a specific database to other users, and they should absolutely not be allowed to make any changes. Is this possible?

Thanks.

@arnowelzel
Copy link
Collaborator

How exactly do you provide the file as "read-only"?

When I share a KDBX file with another Nextcloud user without giving editing permissions, it works fine. The other user can open the file in Keeweb but not sync changes back as this will result with an HTTP 403 error. This can not be avoided since Keeweb does not have a "read only" mode - but at least other users can not change anything by accident.

@hublol
Copy link
Author

hublol commented Jan 4, 2022

The .kdbx file is stored on a file system mounted as external storage.
I can make it read-only in various ways:

  • directly changing the permissions on the file system.
  • mounting the external storage in Nextcloud with the read-only flag.
    Both lead to the same results, ie. the file is no longer opened in Keeweb (same file is opened correctly if read-write is allowed).

@arnowelzel
Copy link
Collaborator

In this case I believe it is Nextcloud which decides that read only files can not be opened using the app anyway. However, I don't know how to avoid this.

@hublol
Copy link
Author

hublol commented Jan 4, 2022

ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants