[cherry-pick-2.0.6][Bug][Security] Fix config permisson (#8939)
* tmp * change config dir permission * no change
This commit is contained in:
parent
e2b962e775
commit
4149a9128f
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue