diff --git a/scripts/restore b/scripts/restore index 13075c1..f6161a0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -43,6 +43,8 @@ systemctl status couchdb # RESTORE THE APP MAIN DIR ynh_script_progression --message="Restoring the app main directory..." --weight=10 ynh_restore_file --origin_path="$install_dir" +chmod -R 644 $install_dir +chown -R root:$app $install_dir # RESTORE THE DATA DIRECTORY ynh_script_progression --message="Restoring the data directory..." --weight=1