From a73600b547a4938d41b9107eb2f14960e420ab35 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 26 Apr 2017 10:40:39 +0200 Subject: [PATCH] [fix] Chmod on backup/tmp --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index f931f0d..8d0df6a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -70,6 +70,8 @@ sudo cp -a ./sources "$final_path" # Set permissions sudo chown -R $app: "$final_path" +sudo chmod -R a+rx /home/yunohost.backup/tmp + # Set UTF8 encoding by default sudo su -c "psql" postgres <<< \