Skip to content

Commit 38756f8

Browse files
authored
fix: restore group perms to PG dir post-upgrade (#1017)
1 parent fdaee4b commit 38756f8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/complete.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ function copy_configs {
132132
cp -R /data/conf/* /etc/postgresql-custom/
133133
chown -R postgres:postgres /var/lib/postgresql/data
134134
chown -R postgres:postgres /data/pgdata
135+
chmod -R 0750 /data/pgdata
135136
}
136137

137138
function run_generated_sql {

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.1.70"
1+
postgres-version = "15.1.1.71"

0 commit comments

Comments
 (0)