I recently messed up my ownership and read/write rights to very important files which doesnt allow me to log in to ubuntu once past boot. I've tried several chmod and chown commands to revert the files back but have a problem doing so, first off the ownership of the files is wrong, and on top of that some are only read files and I need to convert them. I get the error :
sudo: must be setuid root
as well as another error which says the ownership rights are 100 when they should be 0(root). I really do not want to re-install a fresh copy there are very important files on the system that I need.