VirtualBox

Ticket #1673 (closed defect: wontfix)

Opened 6 years ago

Last modified 5 years ago

Windows and HOME variable.

Reported by: iljum Owned by:
Priority: minor Component: other
Version: VirtualBox 1.6.0 Keywords:
Cc: Guest type: other
Host type: Windows

Description

To make Emacs and Cygwin work well together on Windows, I set HOME environment variable to specific directory ("C:\Stuff"). After reboot I discovered, that all settings in VirtualBox were "lost".

Then I saw new ".VirtualBox" directory in "C:\Stuff" folder, and settings are now stored there.

But I don't think, that such HOME variable handling really makes sense on Windows.

Change History

comment:1 follow-up: ↓ 2 Changed 6 years ago by tdobes

Please do not remove this functionality. In our environment, we share VM images in labs, so we want the .VirtualBox directory stored in a public place rather than under the user's home directory. We've managed this by setting the HOME variable from a script which runs before VirtualBox starts. If the name "HOME" is causing conflicts, perhaps it could be renamed "VBOX_HOME" or something... but removal of this entirely would cause major problems for us.

comment:2 in reply to: ↑ 1 Changed 6 years ago by michael

Replying to tdobes:

Please do not remove this functionality. In our environment, we share VM images in labs, so we want the .VirtualBox directory stored in a public place rather than under the user's home directory. We've managed this by setting the HOME variable from a script which runs before VirtualBox starts. If the name "HOME" is causing conflicts, perhaps it could be renamed "VBOX_HOME" or something... but removal of this entirely would cause major problems for us.

tdobes, try "VBOX_USER_HOME".

comment:3 Changed 6 years ago by frank

  • Host type changed from other to Windows

comment:4 Changed 6 years ago by schapel

Setting VBOX_USER_HOME=C:\Documents and Settings\username\.VirtualBox is an effective workaround for me. I also think VirtualBox should not be checking the HOME environmental variable, as it's also used for MinGW and MSYS.

comment:5 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use