Browse Source

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

* tmp

* change config dir permission

* no change
2.0.7-release
gaojun2048 3 years ago committed by GitHub
parent
commit
4149a9128f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      script/dolphinscheduler-daemon.sh

3
script/dolphinscheduler-daemon.sh

@ -35,8 +35,7 @@ BIN_DIR=`dirname $0`
BIN_DIR=`cd "$BIN_DIR"; pwd` BIN_DIR=`cd "$BIN_DIR"; pwd`
export DOLPHINSCHEDULER_HOME=`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 source /etc/profile
set -a set -a
source "${DOLPHINSCHEDULER_HOME}/conf/env/dolphinscheduler_env.sh" source "${DOLPHINSCHEDULER_HOME}/conf/env/dolphinscheduler_env.sh"

Loading…
Cancel
Save