1
0
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:
Jacob Hayes
2016-01-05 16:49:58 -06:00
parent 86fcd0c100
commit d164485094
7 changed files with 7 additions and 7 deletions

View File

@ -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