I am an Ubuntu newbie, and I accidentally typed
chown www-data:www-data * -R.
After a while, I tried to restart, but my computer couldn't even start, saying:
# Your screen, graphics cards, and input device settings could not be detected correctly. # You will need to configure these yourself.
the command I executed is like this:
cd /home sudo chown www-data:www-data * -R sudo usermod -a -G www-data username
Is there any way I can get out of this mess? Thank you