Last active
September 29, 2015 14:02
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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