1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Fix write access on plugins dir (#46)

This commit is contained in:
Maniack Crudelis 2017-04-21 21:33:10 +02:00 committed by tostaki
parent 8c0c21b9b9
commit 45502455e5
3 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ sudo sed -i "s/yuno_domain/${domain}/g" ${DESTDIR}/config.php
# Set permissions to kanboard and data directory
sudo chown -R root:root ${DESTDIR}
sudo chown -R www-data:www-data ${DESTDIR}/data
sudo chown -R www-data ${DESTDIR}/{data,plugins}
# Copy and set php-fpm configuration
phpfpm_conf="/etc/php5/fpm/pool.d/${app}.conf"

View file

@ -45,7 +45,7 @@ ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" < ./db.sql
# Restore permissions
sudo chown -R root:root "$DESTDIR"
sudo chown -R www-data:www-data "$DESTDIR"/data
sudo chown -R www-data ${DESTDIR}/{data,plugins}
# Restore configuration files
sudo cp -a ./conf/nginx.conf "$nginx_conf"

View file

@ -62,7 +62,7 @@ sudo sed -i "s/yuno_domain/${domain}/g" ${DESTDIR}/config.php
# Set permissions to kanboard and data directory
sudo chown -R root:root ${DESTDIR}
sudo chown -R www-data:www-data ${DESTDIR}/data
sudo chown -R www-data ${DESTDIR}/{data,plugins}
# Launch database migration
sudo ${DESTDIR}/cli db:migrate