File tree 13 files changed +26
-13
lines changed
13 files changed +26
-13
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ docker_create_db_directories() {
37
37
local user; user=" $( id -u) "
38
38
39
39
mkdir -p " $PGDATA "
40
- chmod 700 " $PGDATA "
40
+ # ignore failure since there are cases where we can't chmod (and PostgreSQL might fail later anyhow - it's picky about permissions of this directory)
41
+ chmod 700 " $PGDATA " || :
41
42
42
43
# ignore failure since it will be fine when using the image provided directory; see also https://github.com/docker-library/postgres/pull/289
43
44
mkdir -p /var/run/postgresql || :
You can’t perform that action at this time.
0 commit comments