LoginSignup
0
0

More than 3 years have passed since last update.

VirtualBox で "Effective UID is not root(実効UIDがrootではない)"と怒られるとき

Last updated at Posted at 2020-02-25

はじめに

macOS を Catatalina にしてから VitualBox をインストールしたり、バージョンアップしたりすると、"Effective UID is not root(実効UIDがrootではない)" と怒られることがあります。最近、時々聞かれるのですが、簡単に解決できるので、メモしておきます。

解決方法

ターミナルを立ち上げて、以下を実行しましょう。

cd /Applications/VirtualBox.app/Contents/MacOS/
sudo chmod u+s VBoxHeadless
sudo chmod u+s VBoxNetAdpCtl
sudo chmod u+s VBoxNetDHCP
sudo chmod u+s VBoxNetNAT
sudo chmod u+s VirtualBoxVM

もし、「VirtualBoxVM がない」と怒られたら、下記を実行しましょう。

sudo chmod u+s /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM

補足

/Applications ではない場所にインストールしている場合は、適宜、読み替えて下さい。

VirtualBox 6.1.2, 6.1.4 あたりのインストーラの不具合のようです。VirtualBox のフォーラムを読むと、次のバージョンで治るようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0