From 257a66056dde7c5e762a38ebaf544084b462db4d Mon Sep 17 00:00:00 2001 From: oznu Date: Thu, 8 Mar 2018 21:08:18 +1100 Subject: [PATCH] force postgres ownership recursively --- root/etc/cont-init.d/40-postgres.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/40-postgres.sh b/root/etc/cont-init.d/40-postgres.sh index 2f75156..92a7acb 100644 --- a/root/etc/cont-init.d/40-postgres.sh +++ b/root/etc/cont-init.d/40-postgres.sh @@ -1,7 +1,7 @@ #!/usr/bin/with-contenv sh mkdir -p /config/postgres -chown postgres:postgres /config/postgres +chown -R postgres:postgres /config/postgres chmod 0700 /config/postgres if [ -e /config/postgres/postgresql.conf ]; then