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