diff --git a/lxc-apps/ckan/install.sh b/lxc-apps/ckan/install.sh index 6bf30e0..2b28400 100755 --- a/lxc-apps/ckan/install.sh +++ b/lxc-apps/ckan/install.sh @@ -16,8 +16,8 @@ install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA} spoc-container exec ckan-postgres -- initdb -D /var/lib/postgresql # Configure Postgres -install postgres_data/postgresql.conf ${POSTGRES_DATA}/postgresql.conf -install postgres_data/pg_hba.conf ${POSTGRES_DATA}/pg_hba.conf +install -o 105432 -g 105432 -m 600 postgres_data/postgresql.conf ${POSTGRES_DATA}/postgresql.conf +install -o 105432 -g 105432 -m 600 postgres_data/pg_hba.conf ${POSTGRES_DATA}/pg_hba.conf # Create database export CKAN_PWD=$(head -c 18 /dev/urandom | base64 | tr -d '+/=') @@ -26,36 +26,36 @@ spoc-container start ckan-postgres envsubst