From 4149a9128f5b54ecfd0423f5c8f8fb9e98238469 Mon Sep 17 00:00:00 2001 From: gaojun2048 Date: Thu, 17 Mar 2022 16:58:21 +0800 Subject: [PATCH] [cherry-pick-2.0.6][Bug][Security] Fix config permisson (#8939) * tmp * change config dir permission * no change --- script/dolphinscheduler-daemon.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/dolphinscheduler-daemon.sh b/script/dolphinscheduler-daemon.sh index ac6d1db1a7..d26ec85c0c 100755 --- a/script/dolphinscheduler-daemon.sh +++ b/script/dolphinscheduler-daemon.sh @@ -35,8 +35,7 @@ BIN_DIR=`dirname $0` BIN_DIR=`cd "$BIN_DIR"; pwd` export DOLPHINSCHEDULER_HOME=`cd "$BIN_DIR/.."; pwd` -chmod 700 -R ${DOLPHINSCHEDULER_HOME} - +chmod -R 700 ${DOLPHINSCHEDULER_HOME}/config source /etc/profile set -a source "${DOLPHINSCHEDULER_HOME}/conf/env/dolphinscheduler_env.sh"