diff --git a/scripts/restore b/scripts/restore index a5f6892..a355f06 100644 --- a/scripts/restore +++ b/scripts/restore @@ -67,8 +67,10 @@ ynh_restore # Restore permissions on app files chown -R root: $final_path chmod 2775 "$final_path/sites/default/files" -chown -R $app: "${final_path}_private" -chmod 775 "${final_path}_private" + +mkdir -p "/home/yunohost.app/$app/data" +chown -R $app: "/home/yunohost.app/$app/data" +chmod 775 "/home/yunohost.app/$app/data" #================================================= # SPECIFIC RESTORATION