Set right permissions to directories
This commit is contained in:
parent
a881515a73
commit
ed4d5832ff
4 changed files with 5 additions and 3 deletions
|
|
@ -8,8 +8,8 @@ cd `dirname "$0"`
|
|||
|
||||
# Creating directory and set permissions
|
||||
mkdir -p ${BASEDIR}/logs ${BASEDIR}/onyx/log
|
||||
chown -R www-data:www-data ${BASEDIR}/shared ${BASEDIR}/pki ${BASEDIR}/PKI ${BASEDIR}/onyx/log
|
||||
chown -R ${SYNCHRO_USER}:www-data ${BASEDIR}/submission ${BASEDIR}/logs ${BASEDIR}/out ${BASEDIR}/shared/nginx-teams.conf
|
||||
chown -R www-data:www-data ${BASEDIR}/pki ${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
|
||||
|
||||
|
|
|
|||
Reference in a new issue