Page 1 of 1

Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Posted: 21. Feb 2017, 10:17
by cansinismo
Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: World writable: '/usr/lib' (VERR_SUPLIB_WORLD_WRITABLE).
Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE).
Código Resultado:
NS_ERROR_FAILURE (0x80004005)
Componente:
ConsoleWrap
Interfaz:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

I try changing the permissions of usr/lb with chown and don't work.

Anybody can help me?
Thanks

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Posted: 21. Feb 2017, 10:38
by socratis
cansinismo wrote:I try changing the permissions of usr/lb with chown and don't work.
Changed the permissions to what? As you clearly saw, the /usr/lib has got to be non-writable by everyone. You do not mention your host (omission) but for a Ubuntu and a Fedora, the /usr and the /usr/lib permissions look like that (very close actually):
socratis@VB-Ubuntu:~$ ls -al /usr
total 124
drwxr-xr-x  11 root root  4096 Jul 19  2016 .
drwxr-xr-x  23 root root  4096 Jan 19 22:12 ..

socratis@VB-Ubuntu:~$ ls -al /usr/lib
total 840
drwxr-xr-x 143 root root   4096 Jan 19 23:42 .
drwxr-xr-x  11 root root   4096 Jul 19  2016 ..

[socratis@VB-Fedora ~]$ ls -al /usr/
total 224
drwxr-xr-x.  12 root root   4096 Nov 15 23:27 .
dr-xr-xr-x.  18 root root   4096 Nov 15 23:32 ..

[socratis@VB-Fedora ~]$ ls -al /usr/lib
total 204
dr-xr-xr-x. 46 root root  4096 Feb  8 19:54 .
drwxr-xr-x. 12 root root  4096 Nov 15 23:27 ..

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Posted: 21. Feb 2017, 15:11
by cansinismo
The permissions are:

Code: Select all

ls -al /usr
drwxr-xr-x  12 root root   4096 sep  2 12:05 .
drwxrwxrwx  28 root root   4096 feb 21 11:12 ..
drwxr-xr-x   2 root root 118784 feb 21 13:21 bin
drwxr-xr-x   2 root root   4096 sep  9 09:41 games
drwxr-xr-x  68 root root  20480 feb 13 12:29 include
drwxrwxrwx 202 root root  53248 feb 21 13:20 lib
drwxr-xr-x   3 root root   4096 nov 20  2012 lib64
drwxr-xr-x  12 root root   4096 nov  5  2015 local
drwxr-xr-x   3 root root   4096 ago 17  2016 locale
drwxr-xr-x   2 root root  12288 feb 13 12:29 sbin
drwxr-xr-x 417 root root  20480 feb 21 13:20 share
drwxr-xr-x   9 root root   4096 feb 21 13:20 src
Any idea...??

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Posted: 21. Feb 2017, 15:24
by socratis
cansinismo wrote:Any idea...??
What do you mean any idea? It there! In plain sight!
cansinismo wrote:
ls -al /usr
drwxrwxrwx 202 root root  53248 feb 21 13:20 lib
Your /usr/lib directory is group/world writable. But besides that, you have a much, much bigger issue:
cansinismo wrote:
ls -al /usr
drwxr-xr-x  12 root root   4096 sep  2 12:05 .
drwxrwxrwx  28 root root   4096 feb 21 11:12 ..
Your root directory is group/everyone writable!

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Posted: 21. Feb 2017, 18:40
by cansinismo
Really, that's the problem in the end!?
There isn't solution??
Can I fix the permissions or must re-install ubuntu? :cry: :cry:

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Posted: 21. Feb 2017, 20:07
by socratis
Have you tried searching for "Ubuntu reset permissions to default"?

Re: Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0

Posted: 22. Feb 2017, 13:04
by cansinismo
The solution was simple: sudo chmod 755 /usr/lib

Thank you for your special form of make me learn: give a man a fish, and you feed him for a day; teach a man to fish, and you feed him for life. :)

I can not wait less than Socratis :D