From 2aa0a7ccd957307f098b4a36e4e55a37d512204a Mon Sep 17 00:00:00 2001 From: Qiumiao Zhang Date: Mon, 19 Dec 2022 10:43:12 +0800 Subject: [PATCH] remove the executable permission of non root users from hook scripts Signed-off-by: Qiumiao Zhang --- usr/Euler/project/util/CommonFunction | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/Euler/project/util/CommonFunction b/usr/Euler/project/util/CommonFunction index b10dc7e..3527af6 100644 --- a/usr/Euler/project/util/CommonFunction +++ b/usr/Euler/project/util/CommonFunction @@ -75,6 +75,7 @@ function INIT_Execute_Hook() fi fi done + chmod g-x,o-x ${hookdir}/S* > /dev/null 2>&1 fi if [ "x${installbreak}" == "x${hookbase}" ]; then -- 2.27.0