Confessions of a researchaholic

September 6, 2019

Mistake of the day

Filed under: Real — liyiwei @ 12:01 pm

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).

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Theme: Rubric. Get a free blog at