Failed to Open Session due to "unknown group..."

Discussions related to using VirtualBox on Mac OS X hosts.
Locked
aym_ccs
Posts: 2
Joined: 6. Nov 2015, 17:08

Failed to Open Session due to "unknown group..."

Post by aym_ccs »

Hello, I am getting the following error while trying to start my virtual machine

Failed to open a session for the virtual machine sparkvm.

Failed to load R0 module /Applications/VirtualBox.app/Contents/MacOS/VMMR0.r0: An unknown (and thus untrusted) group has write access to '/Applications' and we therefore cannot trust the directory content or that of any subdirectory (VERR_SUPLIB_WRITE_NON_SYS_GROUP).

Failed to load VMMR0.r0 (VERR_SUPLIB_WRITE_NON_SYS_GROUP).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Any help? couldn't find anyone else with the same error. Mac OS X 10.10.5
thanks
aym_ccs
Posts: 2
Joined: 6. Nov 2015, 17:08

Re: Failed to Open Session due to "unknown group..."

Post by aym_ccs »

Solved it myself.

Went to the folder Applications > get info> then on the groups with access I put all of them except System to Read Only. Problem solved.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Failed to Open Session due to "unknown group..."

Post by socratis »

May I suggest that you don't do this sort of thing manually, but instead go in the "Disk Utility" and "Repair Permissions".
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Failed to Open Session due to "unknown group..."

Post by rpmurray »

socratis wrote:,,, but instead go in the "Disk Utility" and "Repair Permissions".
I thought you couldn't do that anymore in El Capitan.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Failed to Open Session due to "unknown group..."

Post by socratis »

Man, sometimes I really hate how Apple tones down things and thinks that we're children! :evil:

But, there is hope, even if the standard 'diskutil' command line has removed the 'repairPermissions' option. From http://osxdaily.com/2015/11/04/verify-r ... -mac-os-x/ :

sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /

Run that in the Terminal and see what the output is.

Automatic repairs my @$$...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
balekis738
Posts: 1
Joined: 12. Jan 2023, 12:43

Re: Failed to Open Session due to "unknown group..."

Post by balekis738 »

Hi, I know I'm late to this, but I just had this same issue with macOS 12.5.1 and found the solution by myself. I'll add it here in case anyone needs it.

The permissions of the /Applications folder need to be the following:
drwxr-xr-x (permissions) root (owner) admin (group)

You can set them using the Terminal. Use these two websites to help you:
controlc. com/1cd622451 (remove the blank space to open the link)
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Failed to Open Session due to "unknown group..."

Post by mpack »

Well thanks for trying to help, but "late" is putting it mildly. The original question was asked over 7 years ago, which is 6 years before MacOS 12.5 existed.

Time to lock this I think.
Locked