Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

has anyone tried designating their entire user directory as the shared VirtualBox directory? All the examples on the web seem to illustrate the sharing of some self-contained directory, but it would be convenient if I could designate ~/, or even ~/Documents or ~/Desktop. The one problem I could see with ~/ is that it contains the ~/VirtualBox VMs/ directory -- not sure if that would actually cause any trouble. I use VirtualBox on Mac/Linux to run Windows. Would each have its own set of issues?

share|improve this question
up vote 1 down vote accepted

You can have your home directory as read-only, an another directory as read-write, something like ~./VirtualBoxWriteable.

But if you are going to use your virtual machine carefully, like it would be your main SO, with anti-virus, etc, there should be not problem to share the entirely home directory as read-write.

share|improve this answer
This is a good idea. Thank you. – crippledlambda Jun 8 '11 at 23:12

You can share any directory, but keep in mind that your virtual machine can read (and write if the shared folder is not read-only) to those files and directories.

I won't trust my home directory to a virtual Windows machine (I like to be adventurous in my VM :p), but I see no problem in sharing just ~/Documents. Security-wise, you would keep the VirtualBox shared folders separate from your other files and directories to avoid any data-loss if you come across malware in your Windows VM.

share|improve this answer
Thanks -- I guess it's a security issue... – crippledlambda Jun 8 '11 at 23:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .