So recently, I made a mistake. I did;
sudo chown -R ubuntu:ubuntu /
Now, my server is pretty non-functioning, and the fact that my server is using 100% of it's space, doesn't make the situation any better.
( I still have access to the headless terminal, but cant su
)
I really need help with how I can revert this change.
So the outcome I am looking for: Reverting all permissions in root, to the default, and functioning Ubuntu.
Ubuntu 22.04