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

[fix] Permissions for enigma plugin closes #21 (#22)

* [fix] Permissions for enigma plugin
* Update install
* [fix] Permissions
* Update install
* Update upgrade
This commit is contained in:
Rafi59 2017-12-17 08:41:08 +01:00 committed by JimboJoe
parent f3e06d2c26
commit d6da9759a3
2 changed files with 3 additions and 0 deletions

View file

@ -181,6 +181,7 @@ ynh_store_file_checksum "${final_path}/config/config.inc.php"
# Set permissions to app files # Set permissions to app files
chown -R root: "$final_path" chown -R root: "$final_path"
chown -R $app: "${final_path}/temp/" "${final_path}/logs/" chown -R $app: "${final_path}/temp/" "${final_path}/logs/"
chown -R $app: "$final_path/plugins/enigma/home"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX

View file

@ -203,6 +203,8 @@ ynh_store_file_checksum "${final_path}/config/config.inc.php"
# Set permissions to app files # Set permissions to app files
chown -R root: "$final_path" chown -R root: "$final_path"
chown -R $app: "${final_path}/temp/" "${final_path}/logs/" chown -R $app: "${final_path}/temp/" "${final_path}/logs/"
chown -R $app: "$final_path/plugins/enigma/home"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX