From 03b2df0c253cac88fa3f929f9291f5b1b84daba9 Mon Sep 17 00:00:00 2001 From: lapineige Date: Mon, 5 Mar 2018 23:40:00 +0100 Subject: [PATCH] Fix files permissions - allow to login after a restore Fix #57 --- scripts/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index f7be894..a255591 100644 --- a/scripts/restore +++ b/scripts/restore @@ -89,7 +89,8 @@ ynh_system_user_create "$app" #================================================= chown -R root:root "$final_path" -chown -R "$app" "$final_path"/{data,plugins} +chown -R "$app" "$final_path"/{data,plugins,sessions} +chmod -R 700 "$final_path"/sessions #================================================= # RESTORE THE PHP-FPM CONFIGURATION