[patch] fix install perms of manpages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the install step for manpages currently does not use the -m option which means
perms default to 755 which makes no sense for man pages

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
diff --git a/Makefile b/Makefile
index 2475e12..bd5fb96 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ install: $(INST_PROGRAMS) $(LIBS) $(LIB_H) sparse.pc
 		$(QUIET_INST_SH)install -v $$f $(DESTDIR)$(BINDIR)/$$f || exit 1; \
 	done
 	$(Q)for f in $(INST_MAN1); do \
-		$(QUIET_INST_SH)install -v $$f $(DESTDIR)$(MAN1DIR)/$$f || exit 1; \
+		$(QUIET_INST_SH)install -m 644 -v $$f $(DESTDIR)$(MAN1DIR)/$$f || exit 1; \
 	done
 	$(Q)for f in $(LIBS); do \
 		$(QUIET_INST_SH)install -m 644 -v $$f $(DESTDIR)$(LIBDIR)/$$f || exit 1; \

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux