From 90f4f688ebc32d86348117f9a494c23f332d9da9 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Thu, 20 Sep 2018 15:06:21 +0200 Subject: [PATCH] Test --- .ebextensions/00_change_npm_permissions.config | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .ebextensions/00_change_npm_permissions.config diff --git a/.ebextensions/00_change_npm_permissions.config b/.ebextensions/00_change_npm_permissions.config new file mode 100644 index 0000000..2e9fd78 --- /dev/null +++ b/.ebextensions/00_change_npm_permissions.config @@ -0,0 +1,8 @@ +files: + "/opt/elasticbeanstalk/hooks/appdeploy/post/00_set_tmp_permissions.sh": + mode: "000755" + owner: root + group: root + content: | + #!/usr/bin/env bash + chown -R nodejs:nodejs /tmp/.npm