From 5432a3c65cf1c68f8210bd4c560e8ab2ad652928 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sat, 28 Jan 2017 23:43:05 +0100 Subject: [PATCH] Update restore --- scripts/restore | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index 422fb06..0149d34 100644 --- a/scripts/restore +++ b/scripts/restore @@ -50,10 +50,8 @@ fi # Restore sources & data sudo cp -a "./sources" $final_path -# Set permissions -sudo chown -R root:root $final_path -sudo chown -R www-data:root $final_path/{data,tmp} -sudo chmod -R 700 $final_path/{data,tmp} +sudo chown www-data:www-data $final_path -R +sudo chmod 755 $final_path -R # Restore conf files sudo cp -a "./conf/nginx.conf" $conf