all denied permissions on ubuntu 18.04

0

by mistake I wrote chomd -R ugo-rwx /, how do I solve it? Now I can not see or modify any folder. I can not do anything at all.

    
asked by Frank Campos Vilchez 02.09.2018 в 01:42
source

1 answer

1

Use a rescue system, such as this and mount your partition. Then put permissions on your folders. In the case of users' folders, it uses its UID. For example, the first user in Ubuntu is 1000, so you need to do something like this:

chown -R 1000:1000 /home/usuario

You do not need to reinstall.

    
answered by 02.09.2018 / 17:59
source