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:
parent
70fc1b83fd
commit
9d9edf6820
2 changed files with 5 additions and 2 deletions
|
@ -103,7 +103,9 @@ sudo /usr/bin/php -q ./bin/install-jsdeps.sh
|
|||
popd
|
||||
|
||||
# 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
|
||||
ynh_nginx_config
|
||||
|
|
|
@ -126,7 +126,8 @@ sudo /usr/bin/php -q ./bin/install-jsdeps.sh
|
|||
popd
|
||||
|
||||
# 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
|
||||
ynh_nginx_config
|
||||
|
|
Loading…
Reference in a new issue