From 39b05d8f41986faa78ee4d071071f90e9c4e97db Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 5 Aug 2019 03:30:02 +0200 Subject: [PATCH] fix upgrade --- scripts/upgrade | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index bffa566..13b7404 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -168,7 +168,10 @@ ynh_store_file_checksum --file="$config_file" # Set permissions on app files chown -R $app: $final_path -chown -R $app: "${final_path}_private" + +mkdir -p "/home/yunohost.app/$app/data" +chown -R $app: "/home/yunohost.app/$app/data" +chmod 775 "/home/yunohost.app/$app/data" #================================================= # SETUP SSOWAT