So I ended up doing a mistake when I was changing the permissions of some drives I have from when I didn't use Proxmox (just a regular Deb server). I ended up
by accident. Yeah big mistake. But not really. Instead of the folder I thought it was going to do, it ended up doing the permission change on the root system itself of Proxmox. Luckily with lots of security measures it would seem, there was a TON of "Operation not permitted". So right when I knew what was going on, and cancelling it, it still did a lot of files.
I fixed most issues based off of all the logs, and seeing if their was a permission issue, as well as the "systemctl --failed" to see there. But one, I seemed to cant fix is the Postfix, specifically " postfix@-.service ". I tried reinstalling the package with "Apt" but got a bunch of Permission denied operations when 'apt' was doing its thing to change permissions back to default.
Anyway, is there some kind of command, or maybe a script that can get most Proxmox permissions back to default so everything works correctly? Or maybe a setting reset without reinstalling?
I'm not totally screwed since I stopped it in time, so no need to reinstall. Anything I can do?
Code:
chown -R root /
I fixed most issues based off of all the logs, and seeing if their was a permission issue, as well as the "systemctl --failed" to see there. But one, I seemed to cant fix is the Postfix, specifically " postfix@-.service ". I tried reinstalling the package with "Apt" but got a bunch of Permission denied operations when 'apt' was doing its thing to change permissions back to default.
Anyway, is there some kind of command, or maybe a script that can get most Proxmox permissions back to default so everything works correctly? Or maybe a setting reset without reinstalling?
I'm not totally screwed since I stopped it in time, so no need to reinstall. Anything I can do?