fix chown

This commit is contained in:
AJ ONeal 2017-11-01 23:26:38 -06:00
parent 9d4489f36a
commit a617eb176c
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
sudo adduser --home /opt/digd.js --gecos '' --disabled-password digd sudo adduser --home /opt/digd.js --gecos '' --disabled-password digd
sudo mkdir -p /opt/digd.js/ /srv/digd.js /var/log/digd.js sudo mkdir -p /opt/digd.js/ /srv/digd.js /var/log/digd.js
sudo mkdir -p /opt/digd.js /srv/digd.js sudo mkdir -p /opt/digd.js /srv/digd.js
chown $(whoami):$(whoami) /opt/digd.js /srv/digd.js #chown -R $(whoami):$(whoami) /opt/digd.js /srv/digd.js
chown -R digd:digd /opt/digd.js /srv/digd.js
echo "v8.9.0" > /tmp/NODEJS_VER echo "v8.9.0" > /tmp/NODEJS_VER
export NODE_PATH=/opt/digd.js/lib/node_modules export NODE_PATH=/opt/digd.js/lib/node_modules