]> git.proxmox.com Git - mirror_spl.git/commitdiff
Fix spl_config.h install permissions
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 8 Feb 2013 21:54:24 +0000 (13:54 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 2 Mar 2013 00:55:06 +0000 (16:55 -0800)
The default permissions used by install are 755.  Since this
file isn't executable 644 is more appropriate.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Makefile.am
include/Makefile.am

index 74c292093e012b43ed2d2193ab38dae917005c63..1210c6d6b9f4b2af1b6065b237c0784ab5e63561 100644 (file)
@@ -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
 
index 31acf7e998838ba534045257447bae142635d1db..9cca2840cb156231c45faf86d5ab93399c9174c8 100644 (file)
@@ -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: