2015-07-16 19:51:00

by Jim Davis

[permalink] [raw]
Subject: [PATCH] Documentation: installed man pages don't need to be executable

Install the man pages with mode 644 instead of 755

Signed-off-by: Jim Davis <[email protected]>
---
Documentation/DocBook/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index b6a6a2e0dd3bb..170042a1ea5f2 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -60,7 +60,7 @@ mandocs: $(MAN)

installmandocs: mandocs
mkdir -p /usr/local/man/man9/
- install $(obj)/man/*.9.gz /usr/local/man/man9/
+ install -m 644 $(obj)/man/*.9.gz /usr/local/man/man9/

###
#External programs used
--
2.4.5


2015-07-17 15:31:57

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: installed man pages don't need to be executable

On Thu, 16 Jul 2015 12:50:50 -0700
Jim Davis <[email protected]> wrote:

> Install the man pages with mode 644 instead of 755

Makes sense. Applied to the docs tree, thanks.

jon