Skip to content

Commit

Permalink
644 perm for pg log in ha (#8721)
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Shankar <[email protected]>
  • Loading branch information
vivekshankar1 authored Dec 26, 2024
1 parent 014b3be commit 0ba9b0d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ ensure_dir_ownership() {
if [ -f "$server_key" ]; then
chmod 0600 "$server_key"
fi
# set pg_log directory permissions to 644
pg_log_dir={{pkg.svc_var_path}}/pg_log
if [ -d "$pg_log_dir" ]; then
chmod 0644 "$pg_log_dir"
fi
}

promotion_trigger_file() {
Expand Down

0 comments on commit 0ba9b0d

Please sign in to comment.