I can no longer log in to my system after running this command :
sudo chown -R &USER: $HOME
as ROOT because I couldn't access a certain file.
Now I can't log in again.
I can no longer log in to my system after running this command :
sudo chown -R &USER: $HOME
as ROOT because I couldn't access a certain file.
Now I can't log in again.
Here's how I solved my problem following Zanna recommendation.
Ubuntu GNU/Linux, with Linux 3.8.0-26-generic (recovery mode). I chose the first option with recovery mode and then selected Enable networking.sudo chown -R username: /home/username where username is my username. After the process finished running, I exited the shell and restarted my system.And Voila! I was able to log in again with no files affected, everything was intact. :)