Skip to content

Commit

Permalink
Fix oppia#1717: enforce correct permissions on node_modules/ dir in V…
Browse files Browse the repository at this point in the history
…agrant.
  • Loading branch information
bbriggs authored and seanlip committed Apr 12, 2016
1 parent fdae9bb commit ec71818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ elif [ "$VAGRANT" = true ]; then
export CHROME_BIN="/usr/bin/chromium-browser"
# Used in frontend and e2e tests. Only gets set if using Vagrant VM.
export XVFB_PREFIX="/usr/bin/xvfb-run"
# Enforce proper ownership on Oppia and oppia_tools or else NPM installs will fail.
sudo chown -R vagrant.vagrant /home/vagrant/oppia /home/vagrant/oppia_tools
# Enforce proper ownership on oppia, oppia_tools, and node_modules or else NPM installs will fail.
sudo chown -R vagrant.vagrant /home/vagrant/oppia /home/vagrant/oppia_tools /home/vagrant/node_modules
elif [ -f "/usr/bin/google-chrome" ]; then
# Unix.
export CHROME_BIN="/usr/bin/google-chrome"
Expand Down

0 comments on commit ec71818

Please sign in to comment.