From be612e6a46b6bb53e93556b33043b3263bd3c04c Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov Date: Tue, 17 Dec 2024 13:34:28 +0100 Subject: [PATCH] SPEC: conf files are owned by 'root:sssd' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 518db322fdd5a4de41813fbe5bc35fc20392ce67 updated service files but missed spec-file. This results in ``` $ rpm --verify sssd-common-0:2.10.1-1.el10.x86_64 .....U... /etc/sssd .....U... /etc/sssd/conf.d .....U... /etc/sssd/pki ``` Reviewed-by: Jakub Vávra Reviewed-by: Sumit Bose (cherry picked from commit af65c00b9ca518a7769c05a41d5fc8208a2d133c) --- contrib/sssd.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index b42dc743d..89b41adef 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -854,9 +854,9 @@ install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/sssd.conf %attr(775,%{sssd_user},%{sssd_user}) %dir %{pubconfpath} %attr(770,%{sssd_user},%{sssd_user}) %dir %{gpocachepath} %attr(770,%{sssd_user},%{sssd_user}) %dir %{_var}/log/%{name} -%attr(750,%{sssd_user},%{sssd_user}) %dir %{_sysconfdir}/sssd -%attr(750,%{sssd_user},%{sssd_user}) %dir %{_sysconfdir}/sssd/conf.d -%attr(750,%{sssd_user},%{sssd_user}) %dir %{_sysconfdir}/sssd/pki +%attr(750,root,%{sssd_user}) %dir %{_sysconfdir}/sssd +%attr(750,root,%{sssd_user}) %dir %{_sysconfdir}/sssd/conf.d +%attr(750,root,%{sssd_user}) %dir %{_sysconfdir}/sssd/pki %ghost %attr(0600,%{sssd_user},%{sssd_user}) %config(noreplace) %{_sysconfdir}/sssd/sssd.conf %dir %{_sysconfdir}/logrotate.d %config(noreplace) %{_sysconfdir}/logrotate.d/sssd -- 2.47.0