From 0188e7a49470dab83061a3b972739d361dc02690 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 26 Sep 2023 12:17:50 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=94=BE=E5=BC=80=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 21bd689fa..eea6fb910 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,14 +7,14 @@ do sleep 2 done # 限制所有可执行目录的权限 -chmod -R 700 /usr/local/sbin/* && chmod -R 700 /usr/local/bin/* +chmod -R 700 /usr/local/sbin/* && chmod -R 700 /usr/local/bin/* && chmod -R 700 /usr/bin/* chmod -R 700 /usr/sbin/* && chmod -R 700 /sbin/* && chmod -R 700 /bin/* # 放开部分需要的可执行权限 chmod 755 `which mysql` `which psql` `which mongosh` `which tsql` `which redis` `which clickhouse-client` chmod 755 `which kubectl` `which rawkubectl` `which helm` `which rawhelm` -chmod 755 `which jq` `which less` `which vim` +chmod 755 `which jq` `which less` `which vim` `which ls` `which bash` cd /opt/koko ./koko