diff options
-rw-r--r-- | Makefile.am | 8 | ||||
-rw-r--r-- | contrib/sssd.spec.in | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 8b9240f44..6219682de 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3952,7 +3952,6 @@ SSSD_USER_DIRS = \ $(DESTDIR)$(keytabdir) \ $(DESTDIR)$(mcpath) \ $(DESTDIR)$(pipepath) \ - $(DESTDIR)$(pipepath)/private \ $(DESTDIR)$(pubconfpath) \ $(DESTDIR)$(pubconfpath)/krb5.include.d \ $(DESTDIR)$(gpocachepath) \ @@ -3979,16 +3978,17 @@ installsssddirs:: $(DESTDIR)$(sssddatadir) \ $(DESTDIR)$(sudolibdir) \ $(DESTDIR)$(autofslibdir) \ + $(DESTDIR)$(pipepath)/private \ $(SSSD_USER_DIRS) \ $(NULL); if SSSD_USER - -chown $(SSSD_USER):$(SSSD_USER) \ - $(SSSD_USER_DIRS) + -chown $(SSSD_USER):$(SSSD_USER) $(SSSD_USER_DIRS) + -chown $(SSSD_USER) $(DESTDIR)$(pipepath)/private endif $(INSTALL) -d -m 0700 $(DESTDIR)$(dbpath) $(DESTDIR)$(logpath) \ - $(DESTDIR)$(pipepath)/private \ $(DESTDIR)$(keytabdir) \ $(NULL) + $(INSTALL) -d -m 0750 $(DESTDIR)$(pipepath)/private $(INSTALL) -d -m 0755 $(DESTDIR)$(mcpath) $(DESTDIR)$(pipepath) \ $(DESTDIR)$(pubconfpath) \ $(DESTDIR)$(pubconfpath)/krb5.include.d $(DESTDIR)$(gpocachepath) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 24af8d518..1e058ca63 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -791,7 +791,7 @@ done %ghost %attr(0644,sssd,sssd) %verify(not md5 size mtime) %{mcpath}/group %ghost %attr(0644,sssd,sssd) %verify(not md5 size mtime) %{mcpath}/initgroups %attr(755,sssd,sssd) %dir %{pipepath} -%attr(700,sssd,sssd) %dir %{pipepath}/private +%attr(750,sssd,root) %dir %{pipepath}/private %attr(755,sssd,sssd) %dir %{pubconfpath} %attr(755,sssd,sssd) %dir %{gpocachepath} %attr(750,sssd,sssd) %dir %{_var}/log/%{name} |