forked from michelp/postgresql-wheel
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I'm running into an issue where pgserver fails to start for unprivileged users on RHEL 9. Upon server setup it will fail with PermissionError: [Errno 13]: Permission denied: b'/run/user/0/python_PostgresServer'. I believe this is due to platformdirs incorrectly resolving a directory and not the fault of pgserver. I can workaround by running under my user $ export XDG_RUNTIME_DIR=/home/admin, but I would like to eliminate the need for this, possibly by using the 'env' parameter of subprocess.run() which spawns the PG server.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
