From e53b1217318ff23119e2645abdc05cd7f2cdbbbf Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 28 Dec 2017 17:27:23 +0100 Subject: [PATCH] Update install --- scripts/install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 83a791b..f9eff9d 100644 --- a/scripts/install +++ b/scripts/install @@ -180,10 +180,11 @@ cat $final_path/config.json #================================================= pushd $final_path -sudo chown -R $app: $final_path -./nodebb setup <<< \ +sudo chown -R $app:$app $final_path +sudo chmod 775 $final_path -R +sudo ./nodebb setup <<< \ "$admin_name" -./nodebb build +sudo ./nodebb build popd sudo chown -R nodebb:nodebb $final_path