From 8ac2881167114ad9569e027b9e3d235a9610ddae Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 30 Jan 2019 17:07:44 +0100 Subject: [PATCH] To be sure that npm as $app has all needed rights --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 755ddb0..20b0f0e 100644 --- a/scripts/install +++ b/scripts/install @@ -172,6 +172,7 @@ ynh_system_user_create $app # ... #================================================= +chown -R $app: $final_path pushd $final_path ynh_use_nodejs sudo -u "$app" npm install "graphql@^0.13.1"