Skip to content

Conversation

@leborchuk
Copy link

@leborchuk leborchuk commented Dec 29, 2025

initdb have functionality for allow group access apache@c37b3d0

Lets start use it for PGDATA and logdir

create-demo-cluster after setting permissions:


xifos@xifos-dev-jammy:~/git/cloudberry-gpdb$ ls -l /home/xifos/git/cloudberry-gpdb/gpAux/gpdemo/datadirs/dbfast1/demoDataDir0/
total 136
drwxr-x--- 5 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515  4096 Dec 29 15:34 base
drwxr-x--- 2 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515  4096 Dec 29 15:34 global
-rw-r----- 1 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515    10 Dec 29 15:35 internal.auto.conf
drwxr-x--- 2 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515  4096 Dec 29 15:34 log

xifos@xifos-dev-jammy:~/git/cloudberry-gpdb$ ls -l /home/xifos/git/cloudberry-gpdb/gpAux/gpdemo/datadirs/qddir/demoDataDir-1/
total 152
drwxr-x--- 5 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515  4096 Dec 29 15:34 base
-rw-r----- 1 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515    38 Dec 29 15:34 current_logfiles
drwxr-x--- 2 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515  4096 Dec 29 15:34 global
-rw-rw-r-- 1 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515   860 Dec 29 15:34 gpssh.conf
-rw-r----- 1 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515    10 Dec 29 15:34 internal.auto.conf
drwxr-x--- 2 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515  4096 Dec 29 15:34 log

new mirrors
xifos@xifos-dev-jammy:~$ ls -l /home/xifos/git/cloudberry-gpdb/gpAux/gpdemo/datadirs/dbfast_mirror2/demoDataDir1
total 320
-rw-r----- 1 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515    225 Dec 30 08:06 backup_label.old
-rw-r----- 1 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515 171484 Dec 30 08:06 backup_manifest
drwxr-x--- 5 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515   4096 Dec 30 08:06 base
-rw-r----- 1 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515     38 Dec 30 08:07 current_logfiles
drwxr-x--- 2 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515   4096 Dec 30 08:06 global
-rw-r----- 1 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515     10 Dec 30 08:06 internal.auto.conf
drwxr-x--- 2 xifos dpt_yandex_exp_9053_9308_4536_dep36035_dep04515   4096 Dec 30 08:07 log

@leborchuk
Copy link
Author

Test misc will fix in other PR

@leborchuk
Copy link
Author

The tests failed because of space exhaustion. We could ignore it till apache#1511 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants