You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-07-28 10:42:06 +03:00
Don't set perm on data dir recursively
This commit is contained in:
@ -8,7 +8,7 @@ set_listen_addresses() {
|
||||
|
||||
if [ "$1" = 'postgres' ]; then
|
||||
mkdir -p "$PGDATA"
|
||||
chmod -R 700 "$PGDATA"
|
||||
chmod 700 "$PGDATA"
|
||||
chown -R postgres "$PGDATA"
|
||||
|
||||
chmod g+s /run/postgresql
|
||||
|
Reference in New Issue
Block a user