From fea77534f0a865bad1c7456bd9fceb1f54976988 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 8 Feb 2013 13:54:24 -0800 Subject: [PATCH] Fix spl_config.h install permissions The default permissions used by install are 755. Since this file isn't executable 644 is more appropriate. Signed-off-by: Brian Behlendorf --- Makefile.am | 2 +- include/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 74c292093e..1210c6d6b9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,7 @@ install-data-local: release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \ instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ - $(INSTALL) -D $$instfile $$instdest/$$instfile; \ + $(INSTALL) -m 644 -D $$instfile $$instdest/$$instfile; \ done endif diff --git a/include/Makefile.am b/include/Makefile.am index 31acf7e998..9cca2840cb 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -19,7 +19,7 @@ install-data-local: instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \ instfiles=`find . -name '*.h'`; \ for instfile in $$instfiles; do \ - $(INSTALL) -D $$instfile $$instdest/$$instfile; \ + $(INSTALL) -m 644 -D $$instfile $$instdest/$$instfile; \ done uninstall-local: