Skip to contentSkip to conversation

fix install perms of manpages

PATCH Applied Mike Frysinger 2 participants 2 messages Sep 17, 2007 – Sep 19, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix install perms of manpages

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

---

Makefile +1 -1
index 2475e12..bd5fb96 100644
@@ -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; \
#1 lore raw
Quoted 4 lines · Mike Frysinger

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

Applied; thanks.

- Josh Triplett