I ran sudo chmod 764 /usr
and then my laptop rebooted, now I can't open Ubuntu login screen anymore. Help me please.
Edit:
I solved it! Boot in recovering mode and then open root console. I wrote chmod 755 /usr
and then rebooted.
I ran sudo chmod 764 /usr
and then my laptop rebooted, now I can't open Ubuntu login screen anymore. Help me please.
I solved it! Boot in recovering mode and then open root console. I wrote chmod 755 /usr
and then rebooted.
Try booting from an usb Ubuntu, mount the partition and chmod /usr to 755 for a start. Then, you will need to figure out case by case once something fails.
Good luck.
Extra info: in an almost fresh 20.04 desktop install (on a virtual machine I have)
gives about 177K files :-)
If you put in a bash shell file...
you will get a list of current file perms, and you could redirect that to a file as a safe measure.
regards, JP.