Fix zfs_config.h install permissions
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 8 Feb 2013 21:51:27 +0000 (13:51 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 6 Mar 2013 23:46:40 +0000 (15:46 -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

index 833bee6..e47e571 100644 (file)
@@ -36,7 +36,7 @@ install-data-local:
        release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \
        instdest=$(DESTDIR)/usr/src/zfs-$$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