I used these commands to allow access to git clone katoolin to be stored in usr
sudo chmod -R 777 /usr/
sudo chown www-data:www-data /usr/
I don't know which one ruined my sudo
access. Also, I don't have access to root. I tried entering into recovery mode then into root shell and used commands from /usr/bin/sudo must be owned by uid 0 and have the setuid bit set but it didn't work.
Kind of new to it. Some help would be helpful.