This repository was archived by the owner on Dec 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Cannot successfully access same database with two different system users #13
Comments
level-party
by two different system users doesn't work
Which platform? |
Can confirm same issue on node 15.2.1 / ubuntu server 20.04.1. No errors. Switching |
Actually it looks like a permissions error, specifically:
My scenario is a node script running as a service (webserver) ... this creates and updates the original database (as root). All DB files are created with 0644 permissions. I am then attempting access as another user (for manual checkup / data dump). Sudoing the user script works as expected. If the db is initially created by the non-root user, everything works as expected. |
@vweevers any suggestions here? This is still an issue for us .. assume we can manually |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If, when logged in as user A, I initialize database, and then when I try to connect to same database using user B, no data is propagated, and no error (that would indicate that something went wrong) is exposed.
How to reproduce:
Try to run below code on database initiated by other user. No logs will be reported, as if operation hanged. Same code will run as expected when run by user which initialized first access.
The text was updated successfully, but these errors were encountered: