aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2021-04-15 20:28:26 +0200
committeryalh76 <yalh@yahoo.com>2021-04-15 20:28:26 +0200
commit17c2d6b8c4f48f8dff77eb337327ec6421316d52 (patch)
tree49b906453288aa69fd0167de1b8b5f6531a3eef4 /scripts/restore
parent533654acefffcd052b09a79a8ca53783d73ada6a (diff)
downloadmastodon_ynh-17c2d6b8c4f48f8dff77eb337327ec6421316d52.tar.gz
mastodon_ynh-17c2d6b8c4f48f8dff77eb337327ec6421316d52.tar.bz2
mastodon_ynh-17c2d6b8c4f48f8dff77eb337327ec6421316d52.zip
Fix chmod
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/restore b/scripts/restore
index d6d587a..e4a48fa 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -70,7 +70,7 @@ ynh_script_progression --message="Restoring the app main directory..."
ynh_restore_file --origin_path="$final_path"
-chmod 750 "$final_path"
+chmod -R 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"