From 856077b230c3ebae6aa74b0acdec9823f82e50cc Mon Sep 17 00:00:00 2001 From: mastereur <22839524+mastereur@users.noreply.github.com> Date: Sat, 29 Jun 2019 10:41:24 +0200 Subject: [PATCH] Update scripts/upgrade Co-Authored-By: Kayou --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index cf057cc..8d3778b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -193,6 +193,7 @@ ynh_use_logrotate --non-append # Set permissions to app files chown -R root "$final_path" chmod 644 "$final_path/htdocs/conf/conf.php" +mkdir -p "$datadir" chown -R $app "$datadir" chmod go-w $datadir