Fix when Virtual Box doesn’t open


Virtual Box is another software program that can run Linux, Windows and other operating systems on an Intel-powered Mac. The other day I was unable to launch Virtual Box, which greeted me, instead, with an “Effective UID is not root” error message:

To diagnose and fix the problem, I first checked my Console log for clues:

10/10/10 11:58:45 AM [0x0-0x1d01d].org.virtualbox.app.VirtualBox[402] VirtualBox: supR3HardenedVerifyDir: Cannot trust the directory “/Applications/VirtualBox.app/Contents/MacOS”: group and/or other writable (st_mode=040775)

Reading the log entry, I conjectured that the problem was caused by a permissions conflict. I then did a Google search of the phrase, “Cannot trust the directory VirtualBox” and came up with the solution, which consisted of launching Terminal and using the sudo command to execute these two chmod commands:

sudo chmod 755 /Applications/VirtualBox.app/Contents/MacOS
sudo chmod 755 /Applications/VirtualBox.app/Contents/MacOS/components

As noted by the Schwie’s Pad blogger who experienced the same problem, the error was permissions-related, where the root user was erroneously assigned as owner of a directory.

Advertisements

2 Comments

Filed under Third Party Software, Troubleshooting

2 responses to “Fix when Virtual Box doesn’t open

  1. scheubo

    This helped me today, updating from VirtualBox 4.0.4 to 4.1.0 on Mac OS X 10.6.8. Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s