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

morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new fb7628b9272 branch-3.1: [fix](deploy) Fix incorrect user group 
configuration in fdb_ctl.sh #58677 (#58694)
fb7628b9272 is described below

commit fb7628b92723d1c88222c6fa5f03707f94400518
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 4 10:49:22 2025 +0800

    branch-3.1: [fix](deploy) Fix incorrect user group configuration in 
fdb_ctl.sh #58677 (#58694)
    
    Cherry-picked from #58677
    
    Co-authored-by: ke deng <[email protected]>
---
 tools/fdb/fdb_ctl.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/fdb/fdb_ctl.sh b/tools/fdb/fdb_ctl.sh
index 52da8764e9d..fd6a5d03c0f 100755
--- a/tools/fdb/fdb_ctl.sh
+++ b/tools/fdb/fdb_ctl.sh
@@ -265,10 +265,12 @@ function deploy_fdb() {
 ${CLUSTER_DESC}:${FDB_CLUSTER_ID}@$(get_coordinators)
 EOF
 
+    GROUP_NAME="$(id -gn 2>/dev/null || echo "${USER}")"
+
     cat >"${FDB_HOME}/conf/fdb.conf" <<EOF
 [fdbmonitor]
 user = ${USER}
-group = ${USER}
+group = ${GROUP_NAME}
 
 [general]
 restart-delay = 60


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to