This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 0fe12562c7f branch-4.0: [fix](deploy) Fix incorrect user group
configuration in fdb_ctl.sh #58677 (#58695)
0fe12562c7f is described below
commit 0fe12562c7fa3be94625fc2cb55448c66cdac07e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 4 09:14:38 2025 +0800
branch-4.0: [fix](deploy) Fix incorrect user group configuration in
fdb_ctl.sh #58677 (#58695)
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]