0

I ignorantly changed the permission of /usr/bin to chmod 744 by using sudo chmod 744 /usr/bin while following a guide for something that I was working on. After I did that, I was unable to open the terminal and xterm. I then turned my system off and when I turned it back on later, I was unable to login to my account. I enter the password to my account and for a fraction of a second it shows to a black screen with some text goes back to the login page. This happens when I try to sign in as guest as well. I could not read the text as the screen switches back very quickly.

Any way I can fix this?

Zanna
  • 72,312

1 Answers1

1

When the GRUB menu appears during boot (press Shift repeatedly after turning on to make it come up if it doesn't automatically appear), choose Advanced options, select Recovery mode and then select Drop to root-shell.

Now you need to run two commands:

chmod 755 /usr/bin
reboot

(You don't need sudo here as you are root already)

Now you can boot normally to Ubuntu and everything will be fine.

Zanna
  • 72,312
mook765
  • 18,644