diff --git a/entrypoint.sh b/entrypoint.sh index 7309fd74..1fe01bb0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,8 +7,8 @@ cd `dirname "$0"` . ./config.sh # Creating directory and set permissions -mkdir -p ${BASEDIR}/logs -chown -R www-data:www-data ${BASEDIR}/shared ${BASEDIR}/PKI +mkdir -p ${BASEDIR}/logs ${BASEDIR}/onyx/log +chown -R www-data:www-data ${BASEDIR}/shared ${BASEDIR}/PKI ${BASEDIR}/onyx/log chown -R ${SYNCHRO_USER}:www-data ${BASEDIR}/submission ${BASEDIR}/logs ${BASEDIR}/out chmod 770 ${BASEDIR}/submission chown ${SYNCHRO_USER} ${BASEDIR}/.ssh/id_rsa