summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2016-08-16 16:45:36 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-08-17 16:15:17 +0200
commitb72bf8cf70f8973d805c73a02ec681156ac9396d (patch)
treeeb976453733e3577ffa1c7a8c55abeb7227ebd82 /contrib
parente4d18b748fd8298b5cc6b6687ca05ffffa20c574 (diff)
downloadsssd-b72bf8cf70f8973d805c73a02ec681156ac9396d.tar.gz
sssd-b72bf8cf70f8973d805c73a02ec681156ac9396d.tar.xz
sssd-b72bf8cf70f8973d805c73a02ec681156ac9396d.zip
SPEC: Own the secrets DB path
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index a9a43560e..226dedf3b 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 ###
@@ -783,6 +784,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