You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
could not create lock file "/var/run/postgresql/.s.PGSQL.6433.lock": Permission denied
Intuitively, I would expect something like that; an unprivileged user typically should be able to write there. So the question is - is there any way to run pg_tester without root / postgres account? Or what amendments should I make to my user environment that will not be an open security hole?
Thanks for any hints on this problem.
P.S. My colleagues are happily using pg_tester in macOS.
The text was updated successfully, but these errors were encountered:
Yes, you are able to run PostgreSQL as normal user. In postgresql.conf look at unix_socket_directories and change it to which you own.
Look also at PostgreSQL Docs
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sorry for my ignorance but I am not able to use
pg_tester
in Linux. It fails when starting the server. I tred to manually run the same command, i.e.:And I obtain the following error message:
Intuitively, I would expect something like that; an unprivileged user typically should be able to write there. So the question is - is there any way to run pg_tester without root / postgres account? Or what amendments should I make to my user environment that will not be an open security hole?
Thanks for any hints on this problem.
P.S. My colleagues are happily using pg_tester in macOS.
The text was updated successfully, but these errors were encountered: