Skip to content

Instantly share code, notes, and snippets.

@truetamtam
Last active September 29, 2015 14:02
Show Gist options
  • Select an option

  • Save truetamtam/9bd3676959a23783048d to your computer and use it in GitHub Desktop.

Select an option

Save truetamtam/9bd3676959a23783048d to your computer and use it in GitHub Desktop.
Remount on windows7 with vbox. Tested on Ubuntu14.04. Solves permission problems for launched servers on guest machine. Place in /etc/init/*.conf
description "Remounting shared folder d:\www from windows7 with virtualbox.
Solving permission problems.
Origin: http://superuser.com/questions/527963/how-to-allow-nginx-in-guest-vm-access-shared-folders-in-host-os"
start on starting
task
exec mount -t vboxsf www -o rw,dmode=777,gid=1000,uid=1000 /home/user/shared_www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment