aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore2
1 files changed, 2 insertions, 0 deletions
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 <<< \