Allow admin part to modify openssl.cnf

This commit is contained in:
nemunaire 2015-01-16 23:26:10 +01:00 committed by Nemunaire
parent 7cdd53a0d7
commit 05808f5543

View File

@ -8,8 +8,8 @@ cd `dirname "$0"`
# Creating directory and set permissions # Creating directory and set permissions
mkdir -p ${BASEDIR}/logs ${BASEDIR}/onyx/log mkdir -p ${BASEDIR}/logs ${BASEDIR}/onyx/log
chown -R www-data:www-data ${BASEDIR}/shared ${BASEDIR}/PKI ${BASEDIR}/onyx/log chown -R www-data:www-data ${BASEDIR}/shared ${BASEDIR}/pki/openssl.cnf ${BASEDIR}/PKI ${BASEDIR}/onyx/log
chown -R ${SYNCHRO_USER}:www-data ${BASEDIR}/submission ${BASEDIR}/logs ${BASEDIR}/out chown -R ${SYNCHRO_USER}:www-data ${BASEDIR}/submission ${BASEDIR}/logs ${BASEDIR}/out ${BASEDIR}/shared/nginx-teams.conf
chmod 770 ${BASEDIR}/submission chmod 770 ${BASEDIR}/submission
chown ${SYNCHRO_USER} ${BASEDIR}/.ssh/id_rsa chown ${SYNCHRO_USER} ${BASEDIR}/.ssh/id_rsa