From e685d4d27a5bf08556c737e7aa7c9d86e22bbdac Mon Sep 17 00:00:00 2001 From: anmol Date: Mon, 7 Jan 2019 11:53:50 +0530 Subject: [PATCH] Give proper right permission --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 919d5e1..f82126b 100644 --- a/scripts/install +++ b/scripts/install @@ -205,10 +205,12 @@ ynh_replace_string "#SMTP_OPENSSL_VERIFY_MODE=peer" "SMTP_OPENSSL_V # Preconfig CSS & JS # Install Mastodon +# Give right permission for the app +chown -R "$app": "$final_path" + ( cd "$final_path/live" su mastodon <