From cc93967c99603b9f8df9c8aed852f33d5a96b31c8c74f68da86a75ac5cde5456 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 31 Jan 2019 15:24:22 +0000 Subject: [PATCH] Revert ownership change OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=110 --- postgresql-tmpfiles.conf | 2 +- postgresql.changes | 1 - postgresql.spec | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/postgresql-tmpfiles.conf b/postgresql-tmpfiles.conf index 192ae9d..e63a3a3 100644 --- a/postgresql-tmpfiles.conf +++ b/postgresql-tmpfiles.conf @@ -1,3 +1,3 @@ # For the PostgreSQL server's unix domain socket -d /run/postgresql 0755 postgres postgres - +d /run/postgresql 1755 root root - f /var/lib/pgsql/.bash_profile 0640 postgres postgres /usr/share/postgresql/bash_profile diff --git a/postgresql.changes b/postgresql.changes index c9cdf95..4ceb394 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -3,7 +3,6 @@ Thu Jan 31 13:23:56 UTC 2019 - Reinhard Max - Move bash profile out of /var/lib to allow transactional updates (bsc#1100397). -- Fix permissions and ownership of /var/run/postgresql . - Use /run/postgresql instead of /var/run/postgresql in %ghost and postgresql-tmpfiles.conf to avoid rpmlint warnings and errors. diff --git a/postgresql.spec b/postgresql.spec index b10085f..b0546e5 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -384,10 +384,10 @@ fi %_tmpfilesdir/postgresql.conf %_unitdir/ /usr/share/postgresql/postgresql-script -%ghost %dir %attr(0755,postgres,postgres) /run/postgresql +%ghost %dir %attr(1777,root,root) /run/postgresql %else %config /etc/init.d/postgresql -%dir %attr(0755,postgres,postgres) /var/run/postgresql +%dir %attr(1777,root,root) /var/run/postgresql %endif %files test