>From fd4e213abfd9cfec9a23a5547b3a3a9623dc8e61 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 11 Nov 2014 15:39:57 +0100 Subject: [PATCH 2/3] BUILD: Make chown of files to sssd user non-fatal 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 --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6ce3a42f3833fc9041efd908c2e3de4a85193d42..d58fcb9501c44ccf0d5814e1f2070cd82fa8be61 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 -- 1.9.3