ownership of "/var/run/postgresql"

From: Dmitry O Litvintsev <litvinse(at)fnal(dot)gov>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: ownership of "/var/run/postgresql"
Date: 2020-07-15 21:15:18
Message-ID: CH2PR09MB3861A412A91BD5ECC85C286BB97E0@CH2PR09MB3861.namprd09.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

we run 9.6 postgresql DB on Linux box. We run as different user than postgres. To get it to work we had to chown /var/run/postgresql to be owned by the process user.

Upgraded to 11 and now we see that file

/var/run/postgresql changes ownership to postgres:postgres on reboot , even though postgresql-11.service is disabled.

What is doing it and is it possible to disable it?

Thanks,
Dmitry

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christoph Moench-Tegeder 2020-07-15 21:20:40 Re: ownership of "/var/run/postgresql"
Previous Message Karsten Hilbert 2020-07-15 17:25:02 Re: psql: FATAL: database "postgres" does not exist or ERROR: 23505: duplicate key value violates unique constraint "pg_namespace_nspname_index"