isula-build/patch/0067-bugfix-fix-unsuitable-filemode-for-isula-build-er.patch

29 lines
1.2 KiB
Diff
Raw Normal View History

From 06e8b4cf47eea4edfad8e9d37c094121d033d579 Mon Sep 17 00:00:00 2001
From: DCCooper <1866858@gmail.com>
Date: Tue, 17 Nov 2020 15:06:06 +0800
Subject: [PATCH] bugfix: fix unsuitable filemode for isula-build(er)
Signed-off-by: DCCooper <1866858@gmail.com>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index f4c95e35..11166cc2 100644
--- a/Makefile
+++ b/Makefile
@@ -95,8 +95,8 @@ proto:
.PHONY: install
install:
- install -D -m0555 bin/isula-build $(BINDIR)
- install -D -m0555 bin/isula-builder $(BINDIR)
+ install -D -m0551 bin/isula-build $(BINDIR)
+ install -D -m0550 bin/isula-builder $(BINDIR)
@[ ! -d ${CONFIG_DIR}/${CONFIG_FILE} ] && install -dm0640 ${CONFIG_DIR}
@( [ -f ${CONFIG_DIR}/${CONFIG_FILE} ] && printf "%-20s %s\n" "${CONFIG_FILE}" "already exist in ${CONFIG_DIR}, please replace it manually." ) || install -D -m0600 ${LOCAL_CONF_PREFIX}/${CONFIG_FILE} ${CONFIG_DIR}/${CONFIG_FILE}
@( [ -f ${CONFIG_DIR}/${POLICY_FILE} ] && printf "%-20s %s\n" "${POLICY_FILE}" "already exist in ${CONFIG_DIR}, please replace it manually." ) || install -D -m0600 ${LOCAL_CONF_PREFIX}/${POLICY_FILE} ${CONFIG_DIR}/${POLICY_FILE}
--
2.19.1