New answers tagged cd
Long question, short answer :) But not in the same manner as a hard drive. For this you would need DVD-RAM.
For me a combination of sudo and screen worked out: sudo -iu vagrant screen -mS npm_install bash -c 'cd /vagrant && npm install' This command first switches to the vagrant user. Then as vagrant changes the directory to /vagrant and executes npm install.
Top 50 recent answers are included