I have a Linux web server with multiple sites being hosted with CPanel.
I was having trouble accessing a site, so I ran this command:
chown -R root:root /home/evalreal/.
While waiting for the command I start seeing a bunch of errors. The errors went something like /home/evalreal/public_html/../virtfs/home/*Other website folders* Could not be accessed
So, I messed something up with my command and applied these owners across a large amount of my /?
My web sites went down until I reset their permissions from a back up. My /tmp directory and /var/lib/mysql directory are both running 777 for the time being. I need to do something similar for whatever is hampering Exim. I can't tell what got changed but since I was root when I ran the command I suspect it's a lot.
Ultimately I need to have the entire system restored from backups right? What if I can't do that for a day or so?