I messed up chmod
(set all to 644
by a stupid accident) and now I am locked out of the admin account. I tried this and created an emergency account successfully but when I try to log in I am stuck in a log in loop.
Is there any way to fix this or do I have to apt-get install --reinstall ubuntu-desktop
? I am using a VMware remote console to access the computer.
sudo
or by root login) to useapt-get
that way.-R
flag) you have a long battle ahead - might be easier to get your personal files backed up and reinstallsudo chmod 664 /
thinking it would onlychmod
the files in the current folder. How stupid. Will reinstallingubuntu-desktop
through the shell reinstall everything with correct permissions etc? I don't have much on that system, mainly just apache but all files are backed up on git.