From 428ad3eb1d2e145b3dabfc1079805e5f5e25fd9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 3 Sep 2024 09:36:21 +0200 Subject: [PATCH] Update restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 6c621a4..3341b10 100755 --- a/scripts/restore +++ b/scripts/restore @@ -20,6 +20,8 @@ ynh_script_progression "Restoring the data directory..." ynh_restore "$data_dir" chown -R $app:www-data "$data_dir" +chmod 400 "$data_dir/config/ocis.yaml" +chown $app:$app "$data_dir/config/ocis.yaml" #================================================= # RESTORE SYSTEM CONFIGURATIONS