From 7fa9bb87d54faf4e1bdf7d03b3d3d617092bdf51 Mon Sep 17 00:00:00 2001 From: Roman Vanicek Date: Sun, 29 Mar 2026 20:38:05 +0000 Subject: [PATCH] pg_upgrade needs stricter permissions --- upgrade-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/upgrade-entrypoint.sh b/upgrade-entrypoint.sh index 49ac55f..8a04ed7 100644 --- a/upgrade-entrypoint.sh +++ b/upgrade-entrypoint.sh @@ -16,6 +16,7 @@ if [ -f "$OLD_VERSION_FILE" ]; then # Move old data to a temporary folder mkdir -p $DATA_DIR/old_data mv $DATA_DIR/* $DATA_DIR/old_data/ || true + chmod 700 $DATA_DIR/old_data # Initialize new data directory mkdir $DATA_DIR/new_data