X
X
XpeH Petrovich2014-09-30 19:46:14
ubuntu
XpeH Petrovich, 2014-09-30 19:46:14

Why are all folders owned by root in a standard installation of Ubuntu Server 14.04 LTS?

I don't quite get it, is it supposed to be like this? Both the owner and the group are root. The installation is default, I didn’t say anything special to him during the installation, I watched the installation in the logs (from the terminal), everything seems to be ok too. Am I stupid or some unknown jamb?
PS: in fact, I've been messing around with Linux for quite some time, but I still don't understand some things (

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergei Borisov, 2014-10-01
@uakoB

That's the way it should be. Moreover, so on the majority of OS.
But .../www, for example, will be owned by the user www-data. When you install some kind of Apache.
A feature of ubuntu is that root login, both from the terminal and via ssh, is prohibited by default. Therefore, the installer requires you to create at least one user.
That is, first you log in as a regular user. And then, do everything with sudo. Well, or, if you need to work more with services, then immediately sudo su. If you don't want to type in a password, set sudoers to run without a password for this user.

A
Alex Chistyakov, 2014-09-30
@alexclear

How should it be? It's not clear from the question. Does /home/ubuntu also own root?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question