From d25e7d7b6c812c2b50bf798dfa8ab5edeef9b834 Mon Sep 17 00:00:00 2001 From: Kaiming Wan Date: Sat, 22 Jun 2024 13:50:05 +0800 Subject: [PATCH] fix: fix auth --- workflow_scripts/bin/execute_benchmark.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/workflow_scripts/bin/execute_benchmark.sh b/workflow_scripts/bin/execute_benchmark.sh index d9a5f21..b9f3934 100644 --- a/workflow_scripts/bin/execute_benchmark.sh +++ b/workflow_scripts/bin/execute_benchmark.sh @@ -37,8 +37,7 @@ $SSH_BASE_CMD $SSH_HOST "sudo rm -rf $BENCHMARK_DIR/workflow_scripts/bin/kafka_2 $SSH_BASE_CMD $SSH_HOST "sudo rm -f $BENCHMARK_DIR/workflow_scripts/bin/bootstrap-server.txt" echo "Use 777 auth" -$SSH_BASE_CMD $SSH_HOST "sudo su - root && sudo chmod -R 777 $BENCHMARK_DIR/workflow_scripts" - +$SSH_BASE_CMD $SSH_HOST "sudo su - root && sudo chmod -R g+w,o+w $BENCHMARK_DIR/workflow_scripts" $SSH_BASE_CMD $SSH_HOST "sudo su - root && sudo echo "$BOOTSTRAP_SERVER" > $BENCHMARK_DIR/workflow_scripts/bin/bootstrap-server.txt" # Execute the benchmark test