-1

I had virtual box previously installed and it worked fine until I created a new user and gave it permissions using:
sudo chmod -R 777 /
After that when I closed and reopened my virtual box I could not open Ubuntu. I uninstalled and reinstalled virtual box.But this is what I am getting when I try to open Ubuntu.
Virtual box ubuntu

How do I fix this issue?

Organic Marble
  • 22,803
  • 12
  • 65
  • 118
Matix
  • 3
  • 3
  • 3
    ***why*** would you do `chmod 777` on the entire system? **That will break the required permissions structure for many applications to function correctly**. That's also NOT how you give users permissions to access things in Linux environments. https://askubuntu.com/questions/20105/why-shouldnt-var-www-have-chmod-777 https://askubuntu.com/questions/83/how-do-file-permissions-work Fixing a recursive chmod 777 is near impossible, you'd have better luck reinstalling the VM. – Thomas Ward Jan 16 '20 at 17:52
  • I didn't know what I was doing to be honest.I just stumbled upon this command and used it.And now I don't how to fix it.I did reinstall it but its still not working. – Matix Jan 16 '20 at 17:55
  • Going forward, it's best not to execute commands you don't understand, especially if they involve sudo. – Organic Marble Jan 16 '20 at 19:05
  • Yes I will keep that in mind. – Matix Jan 16 '20 at 19:20

1 Answers1

0

I reinstalled it again and it works now.

Matix
  • 3
  • 3