Servery fucked up and recursively chmod the root directory, any chance I could fix it without reinstalling the whole operating system or am I just fucked? A Reinstall would take incredibly long than just fixing the current image due have over 1.5 TB data to comb through, backup, and reinstall.
Completely botched my install of Kubuntu 25.10 by chmoding the root directory to help troubleshoot a program that was installed on the root that wasn't working. I was trying to troubleshoot OpenOffice not working because it installs on the root and it just crashes immediately on launch, figured it was a permissions problem because or something related so I wanted to add myself to the root so that I could modify and make changes to it. That was a big fucking mistake and by the time I realized that it was too late. Any chance of recover or I am I just fucked and have to reinstall from scratch. I can't even back up my user folder to my 5TB Portable HDD. The filesystem permission are totally fucked up and I don't know how to fix it due to being new to Linux, any suggestions on what I can do to recover my system or at least my files?
I tried restoring to default permissions with the sudo chown 775 command or something like that, didn't work. Tried re-installing the corrupt packages by using recovery mode to get sudo ownership back (that worked, but I still can't log in due to the it being unable to find the var directory and my home directory is completely wiped from the root. My user directory still exists, so I tried backing up via Deju-due or on an external, that fails due to permission problems, trying to run it through a Live CD and currently having problems with copying with elevated privileges due an unknown error that Dolphin just spits out with no log or anything. Said that the directory creation failed, but no other information is specified.
My guess I'm just royally boned, unless there is another way I can backup my user folder to keep me data. Any help or suggestions would be greatly appreciated.