[cherry-pick-2.0.6][Bug][Security] Fix config permisson (#8939)

* tmp

* change config dir permission

* no change
This commit is contained in:
gaojun2048 2022-03-17 16:58:21 +08:00 committed by GitHub
parent e2b962e775
commit 4149a9128f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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"