Summary: | app-emulation/virtualbox-bin-4.0.2 write permission | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Talamona Francesco <cancellettopugno> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | swapon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Talamona Francesco
2011-01-30 08:18:13 UTC
Created attachment 261101 [details]
emerge --info
Two notes:
* It happens with app-emulation/virtualbox-bin-4.0.0-r1 too
* The user running VirtualBox belongs to vboxusers vboxadd vboxguest groups
I have similar problem and I found the cause. /opt folder have permission g+w and group that include only one my current user. When i remove write group permission from /opt folder i could start virtual machine corretly. I think in other cases it can be othen folder then /opt, because vbox user followong code to check all resources: if ( (pFsObjState->Stat.st_mode & S_IWGRP) && pFsObjState->Stat.st_gid != 0) { (In reply to comment #2) > I have similar problem and I found the cause. /opt folder have permission g+w > and group that include only one my current user. > > When i remove write group permission from /opt folder i could start virtual > machine corretly. Why would /opt have g+w in the first place? That's it, thanks Ivan. My /opt folder was +g for games group Fix also works for me: chmod g-w /opt Why would VirtualBox *require* this kind of hardening though is beyond me. Wrong permissions of /opt is nothing we can take care of. |