Serious Bug With Vagrant 1.1.0 on Windows

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Serious Bug With Vagrant 1.1.0 on Windows

Jon Forrest
I'm running the new Vagrant 1.1.0 on Windows 7. I downloaded precise32.box and tried to add it.
But, I got the error below. This happened on 2 different computers running from a
non-privileged account. It didn't happen with 1.0.6. I set vagrant_log=debug and
got the following edited output:

$ vagrant box add precise32 precise32.box
[...]
 INFO manager: Registered plugin: shell
 INFO vagrant: `vagrant` invoked: ["box", "add", "precise32", "precise32.box"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x30d68f0>)
 INFO environment:   - cwd: e:/Users/jlforrest/Downloads
 INFO environment: Home path: v:/vagrant_home
 INFO environment: Creating: v:/vagrant_home
e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:702:in `rename': Permission denied - (e:/.vagrant, e:/.vagrant.v1.1363402064) (Errno::EACCES)
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:702:in `rename'
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:702:in `upgrade_v1_dotfile'
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:571:in `setup_local_data_path'
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:121:in `initialize'
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in `new'

        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in `<top (required)>'
        from e:/vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in `load'
        from e:/vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in `<main>'

The fact that this happens on two different Windows computers makes me suspect that
it's a Vagrant problem. I tried the box on a Mac and it worked fine.

Without being able to add boxes to Vagrant it's hard to do anything more.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Serious Bug With Vagrant 1.1.0 on Windows

Mitchell Hashimoto
Hi,

Thanks. This issue was reported here: https://github.com/mitchellh/vagrant/issues/1424

I'm actually unsure where the permissions errors come from (as in why do they happen). If someone has more Windows knowledge I'd love to learn more.

Best,
Mitchell


On Fri, Mar 15, 2013 at 9:18 PM, Jon Forrest <[hidden email]> wrote:
I'm running the new Vagrant 1.1.0 on Windows 7. I downloaded precise32.box and tried to add it.
But, I got the error below. This happened on 2 different computers running from a
non-privileged account. It didn't happen with 1.0.6. I set vagrant_log=debug and
got the following edited output:

$ vagrant box add precise32 precise32.box
[...]
 INFO manager: Registered plugin: shell
 INFO vagrant: `vagrant` invoked: ["box", "add", "precise32", "precise32.box"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x30d68f0>)
 INFO environment:   - cwd: e:/Users/jlforrest/Downloads
 INFO environment: Home path: v:/vagrant_home
 INFO environment: Creating: v:/vagrant_home
e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:702:in `rename': Permission denied - (e:/.vagrant, e:/.vagrant.v1.1363402064) (Errno::EACCES)
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:702:in `rename'
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:702:in `upgrade_v1_dotfile'
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:571:in `setup_local_data_path'
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:121:in `initialize'
        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in `new'

        from e:/vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in `<top (required)>'
        from e:/vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in `load'
        from e:/vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in `<main>'

The fact that this happens on two different Windows computers makes me suspect that
it's a Vagrant problem. I tried the box on a Mac and it worked fine.

Without being able to add boxes to Vagrant it's hard to do anything more.

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.