From 35e9956b3cc401142a061b7d1496e5bd6d13efed Mon Sep 17 00:00:00 2001 From: Xuebin Su Date: Wed, 25 Oct 2023 04:42:26 -0400 Subject: [PATCH] chown bashrc --- concourse/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/concourse/test.sh b/concourse/test.sh index f7681832..59137326 100755 --- a/concourse/test.sh +++ b/concourse/test.sh @@ -17,8 +17,9 @@ function _main() { source "$CI_REPO_DIR/common/entry_common.sh" sudo passwd --delete gpadmin # for `su gpadmin` in start_gpdb + sudo chown -R gpadmin "$HOME" echo 'alias su="sudo su"' >> "$HOME/.bashrc" - source "$HOME/.bashrc" # for gpdemo-env.sh + source "$HOME/.bashrc" # for `alias su` start_gpdb source "$HOME/.bashrc" # for gpdemo-env.sh