MAC OS EI Capitan - Fix Virtualbox Permission Issue

Overview

VirtualBox Permission Issue

Effective UID is not root (euid=501 egid=20 uid=501 gid=20) (rc=-20)
Please try reinstalling VirtualBox.
  • On MAC OS EI Capitan Virtualbox is not installed properly and through above errors.

How to fix VirtualBox Permission Issue

  • To resolve this on El Capitan when using Virtualbox versions lower than 6.x run the following from terminal
#!/bin/bash
for bin in VirtualBox VirtualBoxVM VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT VBoxHeadless; do
    sudo chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${bin}"
done


Newsletter

Get updated when I create new content.
Unsubscribe whenever. Never any spam.

Note

I'm Tama. I turn down every ad, affiliate, and sponsor request I get. I write free resources that help people. If you enjoy my content, please consider supporting what I do.

Support my work