I mistakenly did a sudo “chown -R $USER $HOME” under Ubuntu, which trapped me into a login loop.
When I Ctrl-Alt-F3 into the machine, I found out that I cannot edit any files, even though the permissions look the same (“sudo echo $USER” will still return my original user name).
So I have to redo the above chown command with my plain user name and home path (no variable substitution).
September 6, 2019
Mistake of the day
Leave a Comment »
No comments yet.
Leave a Reply