# Re: [PATCH] no need to install manpages as executable

2 messages from 2006-12-11 to 2006-12-12. Participants: Junio C Hamano, Chris Wright.
Thread: https://gitlist.dev/t/43585

## Chris Wright, 2006-12-11 07:39

Subject: [PATCH] no need to install manpages as executable
Message-ID: <20061211073932.GA12555@sequoia.sous-sol.org>
URL: https://gitlist.dev/e/20061211073932.GA12555%40sequoia.sous-sol.org

```
No need to install manpages as executable.  Noticed by Ville Skyttä.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
Applies cleanly to maint and master.

 Documentation/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index c00f5f6..d68bc4a 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -56,8 +56,8 @@ man7: $(DOC_MAN7)
 
 install: man
 	$(INSTALL) -d -m755 $(DESTDIR)$(man1dir) $(DESTDIR)$(man7dir)
-	$(INSTALL) $(DOC_MAN1) $(DESTDIR)$(man1dir)
-	$(INSTALL) $(DOC_MAN7) $(DESTDIR)$(man7dir)
+	$(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
+	$(INSTALL) -m644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
 
 

```

## Junio C Hamano, 2006-12-12 01:15

Subject: Re: [PATCH] no need to install manpages as executable
Message-ID: <7virghzzg9.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7virghzzg9.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20061211073932.GA12555@sequoia.sous-sol.org>

```
Chris Wright <chrisw@sous-sol.org> writes:

> No need to install manpages as executable.  Noticed by Ville Skyttä.

Thanks.  I agree there is no need but I wonder why we even need
to specify that explicitly.  Well, I guess I did not know that
install(1) was that stupid.

```
