Error message while launching a vagrant machine:
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: 0 Your UID is: 501
Solution:
Open this file in your vagrant’s machine folder.
.vagrant\machines\default\virtualbox\creator_uid
And replace the content with the correct user ID ( 0 in my case )