From 0a039d574ed0e91d939efd2c0975f6a425942afd Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 11 Nov 2014 15:39:57 +0100 Subject: BUILD: Make chown of files to sssd user non-fatal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In build environments, we can't assume the sssd user will be created prior to installing the package, so we can't chown the files. RPM will own the files instead in this case. Related: https://fedorahosted.org/sssd/ticket/2370 Reviewed-by: Lukáš Slebodník --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6ce3a42f3..d58fcb950 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2884,12 +2884,12 @@ else endif if SSSD_USER - chgrp $(SSSD_USER) $(sssdlibexecdir)/ldap_child + -chgrp $(SSSD_USER) $(sssdlibexecdir)/ldap_child chmod 4750 $(sssdlibexecdir)/ldap_child - chgrp $(SSSD_USER) $(sssdlibexecdir)/krb5_child + -chgrp $(SSSD_USER) $(sssdlibexecdir)/krb5_child chmod 4750 $(sssdlibexecdir)/krb5_child if BUILD_SEMANAGE - chgrp $(SSSD_USER) $(sssdlibexecdir)/selinux_child + -chgrp $(SSSD_USER) $(sssdlibexecdir)/selinux_child chmod 4750 $(sssdlibexecdir)/selinux_child endif endif -- cgit