Reset default permissions . . .
by sankeny from LinuxQuestions.org on (#4VASX)
I'm running "Ubuntu 18.04" with every update/upgrade patch installed.
I am accessing it via "ssh" from both inside and outside the network.
I can access it directly from a console monitor.
I issued the following command "sudo chmod -R 777 /" on a separately mounted drive, and of course, it began to reset all the permissions on my system "/" (dumb, dumb, dumb)
Now, "sudo" does not work, and I've disconnected via "ssh" and cannot access it remotely.
How can I reset default permissions on "/" from the console?


I am accessing it via "ssh" from both inside and outside the network.
I can access it directly from a console monitor.
I issued the following command "sudo chmod -R 777 /" on a separately mounted drive, and of course, it began to reset all the permissions on my system "/" (dumb, dumb, dumb)
Now, "sudo" does not work, and I've disconnected via "ssh" and cannot access it remotely.
How can I reset default permissions on "/" from the console?