1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00

[fix] ownership root instead user app

This commit is contained in:
magikcypress 2017-07-11 15:30:30 +02:00
parent 70fc1b83fd
commit 9d9edf6820
No known key found for this signature in database
GPG key ID: 3B3C7CD61957AC9A
2 changed files with 5 additions and 2 deletions

View file

@ -103,7 +103,9 @@ sudo /usr/bin/php -q ./bin/install-jsdeps.sh
popd popd
# Change owner final_path directory # Change owner final_path directory
sudo chown -R $app: "${final_path}" sudo chown -R root: "${final_path}"
echo $final_path
sudo chown -R $app: "${final_path}/temp/" "${final_path}/logs/"
# Modify Nginx configuration file and copy it to Nginx conf directory # Modify Nginx configuration file and copy it to Nginx conf directory
ynh_nginx_config ynh_nginx_config

View file

@ -126,7 +126,8 @@ sudo /usr/bin/php -q ./bin/install-jsdeps.sh
popd popd
# Owner user app # Owner user app
sudo chown -R $app: "${final_path}" sudo chown -R root: "${final_path}"
sudo chown -R $app: "${final_path}/temp/" "${final_path}/logs/"
# Modify Nginx configuration file and copy it to Nginx conf directory # Modify Nginx configuration file and copy it to Nginx conf directory
ynh_nginx_config ynh_nginx_config