mitchellh/vagrant — Issue #589: Show a nicer error message if VAGRANT_HOME can't be accessed
Author: mitchellh
Created: 2011-12-11 00:40:31+00:00
State: open

Currently this happens

```
vagrant config-overhaul → VAGRANT_HOME="/" vagrant status
[vagrant] Creating home directory since it doesn't exist: /boxes
/Users/mitchellh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir': Permission denied - /boxes (Errno::EACCES)
from /Users/mitchellh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:205:in `each'
from /Users/mitchellh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
from /Users/mitchellh/.rvm/gems/ruby-1.9.3-p0/gems/vagrant-0.8.8/lib/vagrant/environment.rb:492:in `block in load_home_directory!'
from /Users/mitchellh/.rvm/gems/ruby-1.9.3-p0/gems/vagrant-0.8.8/lib/vagrant/environment.rb:488:in `each'
from /Users/mitchellh/.rvm/gems/ruby-1.9.3-p0/gems/vagrant-0.8.8/lib/vagrant/environment.rb:488:in `load_home_directory!'
from /Users/mitchellh/.rvm/gems/ruby-1.9.3-p0/gems/vagrant-0.8.8/lib/vagrant/environment.rb:475:in `load_config!'
from /Users/mitchellh/.rvm/gems/ruby-1.9.3-p0/gems/vagrant-0.8.8/lib/vagrant/environment.rb:415:in `load!'
from /Users/mitchellh/.rvm/gems/ruby-1.9.3-p0/gems/vagrant-0.8.8/bin/vagrant:23:in `'
from /Users/mitchellh/.rvm/gems/ruby-1.9.3-p0/bin/vagrant:19:in `load'
from /Users/mitchellh/.rvm/gems/ruby-1.9.3-p0/bin/vagrant:19:in `

'
```

Make that nicer.