From 2315912719dca2ad5ea35c0567cc3ff87c93e000 Mon Sep 17 00:00:00 2001 From: cgzones Date: Sun, 1 Jan 2017 22:48:37 +0100 Subject: [PATCH] fix permission of installed segenxml.py by install-headers --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50e55135d..154beb57c 100644 --- a/Makefile +++ b/Makefile @@ -516,7 +516,8 @@ install-headers: $(layerxml) $(tunxml) $(boolxml) @echo "Installing $(NAME) policy headers." $(verbose) $(INSTALL) -m 644 $^ $(headerdir) $(verbose) mkdir -p $(headerdir)/support - $(verbose) $(INSTALL) -m 644 $(m4support) $(word $(words $(genxml)),$(genxml)) $(xmldtd) $(headerdir)/support + $(verbose) $(INSTALL) -m 644 $(m4support) $(xmldtd) $(headerdir)/support + $(verbose) $(INSTALL) -m 755 $(word $(words $(genxml)),$(genxml)) $(headerdir)/support $(verbose) $(genperm) $(avs) $(secclass) > $(headerdir)/support/all_perms.spt $(verbose) for i in $(notdir $(all_layers)); do \ mkdir -p $(headerdir)/$$i ;\