R
R
Roman Ogarkov2016-10-14 13:53:01
linux
Roman Ogarkov, 2016-10-14 13:53:01

How to restore permissions on the /usr folder?

I ran the command in the terminal chown -R ogarich89:ogarich89 /usr
How to restore the standard rights to this directory?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Robot Chappie, 2016-10-14
@ogarich89

sudo сhown -R root:root /usr
sudo chmod 755 /usr

D
Dmitry, 2016-10-14
@slo_nik

Good afternoon.
And why did you execute a command about which you know nothing?
Run the same command, but set the owner to root

sudo shown -R root:root /usr && sudo chmod 755 /usr

C
CityCat4, 2016-10-14
@CityCat4

Presumably chown -R root:root /usr
, only if you had some non-standard rights inside /usr - that's all, ala ule, drive the geese, they are no more.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question