summaryrefslogtreecommitdiff
path: root/devdocs/vagrant/synced-folders%2Fvirtualbox.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/vagrant/synced-folders%2Fvirtualbox.html
new repository
Diffstat (limited to 'devdocs/vagrant/synced-folders%2Fvirtualbox.html')
-rw-r--r--devdocs/vagrant/synced-folders%2Fvirtualbox.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/devdocs/vagrant/synced-folders%2Fvirtualbox.html b/devdocs/vagrant/synced-folders%2Fvirtualbox.html
new file mode 100644
index 00000000..37f4f1ff
--- /dev/null
+++ b/devdocs/vagrant/synced-folders%2Fvirtualbox.html
@@ -0,0 +1,10 @@
+<h1 id="virtualbox"> VirtualBox </h1> <p>If you are using the Vagrant VirtualBox <a href="../providers/index">provider</a>, then VirtualBox shared folders are the default synced folder type. These synced folders use the VirtualBox shared folder system to sync file changes from the guest to the host and vice versa.</p> <h2 id="options"> Options </h2> <ul> <li>
+<a href="#sharedfoldersenablesymlinkscreate"><code>SharedFoldersEnableSymlinksCreate</code></a> (boolean) - If false, will disable the ability to create symlinks with the given virtualbox shared folder. Defaults to true if the option is not present. </li> </ul> <h2 id="caveats"> Caveats </h2> <p>There is a <a href="https://github.com/hashicorp/vagrant/issues/351#issuecomment-1339640">VirtualBox bug</a> related to <code>sendfile</code> which can result in corrupted or non-updating files. You should deactivate <code>sendfile</code> in any web servers you may be running.</p> <p>In Nginx:</p> <div class="highlight"><pre class="highlight plaintext">sendfile off;
+</pre></div>
+<p>In Apache:</p> <div class="highlight"><pre class="highlight plaintext">EnableSendfile Off
+</pre></div><div class="_attribution">
+ <p class="_attribution-p">
+ &copy; 2010&ndash;2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br>
+ <a href="https://www.vagrantup.com/docs/synced-folders/virtualbox.html" class="_attribution-link">https://www.vagrantup.com/docs/synced-folders/virtualbox.html</a>
+ </p>
+</div>