From f7a69a27b11186d03e080f75b879067e395fdec8 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 16 Aug 2016 16:45:36 +0200 Subject: [PATCH] SPEC: Own the secrets DB path --- contrib/sssd.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index b58eebba54a82a041f72507b430ceca708a34632..ec0ab2d1aac59f511a0edf383c9cb91d40e970f6 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -106,6 +106,7 @@ Requires: python-sssdconfig = %{version}-%{release} %global mcpath %{sssdstatedir}/mc %global pubconfpath %{sssdstatedir}/pubconf %global gpocachepath %{sssdstatedir}/gpo_cache +%global secdbpath %{sssdstatedir}/secrets ### Build Dependencies ### @@ -785,6 +786,7 @@ done %dir %{_localstatedir}/cache/krb5rcache %attr(700,sssd,sssd) %dir %{dbpath} %attr(755,sssd,sssd) %dir %{mcpath} +%attr(700,root,root) %dir %{secdbpath} %ghost %attr(0644,sssd,sssd) %verify(not md5 size mtime) %{mcpath}/passwd %ghost %attr(0644,sssd,sssd) %verify(not md5 size mtime) %{mcpath}/group %ghost %attr(0644,sssd,sssd) %verify(not md5 size mtime) %{mcpath}/initgroups -- 2.4.11