From 766a70c3d65e521926db782d253c436e52c445b8 Mon Sep 17 00:00:00 2001 From: Julian Acosta Date: Fri, 10 Mar 2017 00:20:02 -0500 Subject: [PATCH] Added commends to npm permissions and ebextensions debug --- .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..89ddbc7 --- /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 \ No newline at end of file