--- src/statgrab/Makefile.am.old 2005-02-04 19:45:16.384407326 +0100 +++ src/statgrab/Makefile.am 2005-02-04 19:45:23.292225787 +0100 @@ -19,12 +19,12 @@ if STATGRAB if SETGIDBINS # Some operating systems need the binary to be setgid kmem - chgrp kmem $(DESTDIR)@bindir@/statgrab - chmod g+s $(DESTDIR)@bindir@/statgrab + chgrp kmem $(DESTDIR)@bindir@/statgrab || true + chmod g+s $(DESTDIR)@bindir@/statgrab || true endif if SETUIDBINS # Some operating systems need the binary to be setuid root - chown root $(DESTDIR)@bindir@/statgrab + chown root $(DESTDIR)@bindir@/statgrab || true chmod u+s $(DESTDIR)@bindir@/statgrab endif endif diff -up ./src/saidar/Makefile.am.orig ./src/saidar/Makefile.am --- ./src/saidar/Makefile.am.orig 2018-06-10 10:20:26.218953363 +0300 +++ ./src/saidar/Makefile.am 2018-06-10 10:21:05.468356863 +0300 @@ -18,12 +18,12 @@ install-exec-local: if SAIDAR if SETGIDBINS # Some operating systems need the binary to be setgid kmem - chgrp kmem $(DESTDIR)@bindir@/saidar - chmod g+s $(DESTDIR)@bindir@/saidar + chgrp kmem $(DESTDIR)@bindir@/saidar || true + chmod g+s $(DESTDIR)@bindir@/saidar || true endif if SETUIDBINS # Some operating systems need the binary to be setuid root - chown root $(DESTDIR)@bindir@/saidar - chmod u+s $(DESTDIR)@bindir@/saidar + chown root $(DESTDIR)@bindir@/saidar ||true + chmod u+s $(DESTDIR)@bindir@/saidar || true endif endif