UID Permissions issue moving from Linux to Mac

5,332 views
Skip to first unread message

Anibal Aguila

unread,
Aug 18, 2015, 5:23:16 PM8/18/15
to Vagrant
Some one know how fix the UID issue when move the virtual machine and project vagrant source form linux arch to mac OS X??

For vagrant reload and vagrant up this is my output:

macos:ioli user$ vagrant reload

 

The VirtualBox VM was created with a user that doesn't match the

current user running Vagrant. VirtualBox requires that the same user

be used to manage the VM that was created. Please re-run Vagrant with

that user. This is not a Vagrant issue.


 

The UID used to create the VM was: 1000

Your UID is: 501

macos:ioli user$ vagrant up

The VirtualBox VM was created with a user that doesn'
t match the

current user running
Vagrant. VirtualBox requires that the same user

be used to manage the VM that was created
. Please re-run Vagrant with

that user
. This is not a Vagrant issue.


 

The UID used to create the VM was: 1000

Your UID is: 501




UID-vagrant-issue-.jpg

Alvaro Miranda Aguilera

unread,
Aug 18, 2015, 6:24:02 PM8/18/15
to vagra...@googlegroups.com
it looks like permission issue on the host

what's the output of

ls -alR ~/VirtualBox\ VMs

that should be the default VirtualBox folder, if you did move, please adjust.

Share that inside a gist

Thanks
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> 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 vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/25d6610e-4678-48db-9a85-f9cad608b05f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Anibal Aguila

unread,
Aug 18, 2015, 8:09:08 PM8/18/15
to Vagrant
the issue come from : VirtualBox User Mismatch

ls -alR
total 8189136
drwxr-xr-x  10 jujes  staff         340 Aug 19 01:38 .
drwxr-xr-x  16 jujes  staff         544 Aug 19 01:18 ..
drwxr-xr-x   3 jujes  staff         102 Jul 21 11:38 .vagrant
drwxr-xr-x   6 jujes  staff         204 Aug 18 23:11 Logs
-rwxr-xr-x   1 jujes  staff        3248 Aug 19 01:50 Vagrantfile
-rw-------   1 jujes  staff        8822 Aug 19 01:18 ioli-VM-1.12-macosx.vbox
-rwxr-xr-x   1 jujes  staff  4192796672 Aug 18 23:25 ioli-VM-disk1.vmdk
-rw-------   1 jujes  staff        8822 Aug 19 01:38 ioli-VM.vbox
-rw-------   1 jujes  staff        8882 Aug 19 01:18 ioli-VM.vbox-prev
drwxr-xr-x  36 jujes  staff        1224 Aug  6 14:12 public


virtualbox_user_mismatch: |-
  The VirtualBox VM was created with a user that doesn't match the
  current user running Vagrant. VirtualBox requires that the same user
  be used to manage the VM that was created. Please re-run Vagrant with
  that user. This is not a Vagrant issue.

  The UID used to create the VM was: %{original_uid}
  Your UID is: %{uid}

Anibal Aguila

unread,
Aug 18, 2015, 8:46:00 PM8/18/15
to Vagrant
SOLVED!!!

all what need is change the value into:

.vagrant/machines/default/virtualbox/creator_uid

in my case 1000 for 501
Reply all
Reply to author
Forward
0 new messages