mirror of
https://github.com/YunoHost-Apps/yeswiki_ynh.git
synced 2024-09-03 18:05:56 +02:00
fix(restore): use yeswiki_update_dir_rights
This commit is contained in:
parent
eb81d36645
commit
faa49568f1
1 changed files with 1 additions and 5 deletions
|
@ -70,11 +70,7 @@ ynh_restore_file --origin_path="$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R root: $final_path
|
yeswiki_update_dir_rights $app $final_path
|
||||||
chown -R $app $final_path/{cache,files,themes,tools,wakka.config.php}
|
|
||||||
|
|
||||||
chown $app:www-data $final_path
|
|
||||||
chmod o-rwx $final_path
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE PHP-FPM CONFIGURATION
|
# RESTORE THE PHP-FPM CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue