P
P
Pavel2015-12-30 11:36:19
linux
Pavel, 2015-12-30 11:36:19

What user should the /usr folder be under in ubuntu?

I installed virtualbox, created a virtual machine, but when I start I get this error.

Failed to load R0 module /usr/lib/virtualbox/VMMR0.r0: The owner is not root: '/usr'

A bit of a rush on the Internet, entered the command
sudo find /usr -not -user root

Which showed the folders inside not under root. And one of the Python 2.7 folders... Is there any way to solve this problem without changing the owner of the /usr folder to root? In general, who should be the owner of this folder in a stock installation?
I have a suspicion that /usr is also a user folder, that the owner should be a user and not root, or am I wrong?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rsa97, 2015-12-30
@rusbaron

# ls -l /
...
drwxr-xr-x  10 root root  4096 мая   30  2014 usr

#ls -l /usr
...
drwxr-xr-x   2 root root 36864 дек.   4 17:20 bin
drwxr-xr-x   2 root root  4096 апр.  11  2014 games
drwxr-xr-x  94 root root 12288 авг.  17 18:41 include
drwxr-xr-x  71 root root 12288 авг.  21 13:31 lib
drwxr-xr-x  10 root root  4096 июня  13  2014 local
drwxr-xr-x   2 root root 12288 сент. 23 15:58 sbin
drwxr-xr-x 150 root root  4096 авг.  21 13:31 share
drwxr-xr-x  11 root root  4096 мая   20  2015 src

And the user folders are in /home

O
Oleg Tsilyurik, 2015-12-30
@Olej

In general, who should be the owner of this folder with a stock installation?

Why do you need a stock install under VirtualBox? It's completely different...
And in general, use the ready-made image for installation and don't suffer with the installation:
pre-installed images for VitrualBox
In this version, the entire installation (including download) takes 5 minutes.

I
iv_k, 2015-12-30
@iv_k

on ubuntu, besides the internals, /home has always been root, all user data is mounted inside /home

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question