You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/03/17 09:02:21 UTC

[dolphinscheduler] branch 2.0.6-prepare updated: [cherry-pick-2.0.6][Bug][Security] Fix config permisson (#8939)

This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch 2.0.6-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.6-prepare by this push:
     new 4149a91  [cherry-pick-2.0.6][Bug][Security] Fix config permisson (#8939)
4149a91 is described below

commit 4149a9128f5b54ecfd0423f5c8f8fb9e98238469
Author: gaojun2048 <ga...@gmail.com>
AuthorDate: Thu Mar 17 16:58:21 2022 +0800

    [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 ac6d1db..d26ec85 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"