You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by le...@apache.org on 2026/06/29 08:27:43 UTC
(cloudberry) 02/15: Add group access to CBDB (#12)
This is an automated email from the ASF dual-hosted git repository.
leborchuk pushed a commit to branch PG14_ARCHIVE_REBASED
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit aa5f3f636ab1e6da2b4a6607dd072dc266dae156
Author: Leonid <63...@users.noreply.github.com>
AuthorDate: Wed Feb 18 16:41:03 2026 +0300
Add group access to CBDB (#12)
* Allow group access for init CBDB
* Allow group access for segments CBDB
---------
Co-authored-by: Leonid Borchuk <xi...@qavm-f9b691f5.qemu>
---
gpMgmt/bin/gpinitsystem | 1 +
gpMgmt/bin/lib/gpcreateseg.sh | 1 +
2 files changed, 2 insertions(+)
diff --git a/gpMgmt/bin/gpinitsystem b/gpMgmt/bin/gpinitsystem
index fa85d42ae3f..f8d42e87b11 100755
--- a/gpMgmt/bin/gpinitsystem
+++ b/gpMgmt/bin/gpinitsystem
@@ -1272,6 +1272,7 @@ CREATE_QD_DB () {
if [ x"$HEAP_CHECKSUM" == x"on" ]; then
cmd="$cmd --data-checksums"
fi
+ cmd="$cmd --allow-group-access"
LOG_MSG "[INFO]:-Commencing local $cmd"
$cmd >> $LOG_FILE 2>&1
RETVAL=$?
diff --git a/gpMgmt/bin/lib/gpcreateseg.sh b/gpMgmt/bin/lib/gpcreateseg.sh
index 5dd0f5b0006..89f5f405295 100755
--- a/gpMgmt/bin/lib/gpcreateseg.sh
+++ b/gpMgmt/bin/lib/gpcreateseg.sh
@@ -106,6 +106,7 @@ CREATE_QES_PRIMARY () {
cmd="$cmd $LC_ALL_SETTINGS"
cmd="$cmd --max_connections=$QE_MAX_CONNECT"
cmd="$cmd --shared_buffers=$QE_SHARED_BUFFERS"
+ cmd="$cmd --allow-group-access"
if [ x"$HEAP_CHECKSUM" == x"on" ]; then
cmd="$cmd --data-checksums"
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org