I was using my Manjaro partition earlier and was trying to edit some files on a flash drive. Since I had changed the ownership of the
/run/media/ directory to my current user I had to change it back to Root to access my files. What I forgot about however was that I had my Antergos GNOME partition mounted and I accidentally changed the ownership of my entire Antergos partition to Root and when I started up my Antergos again it had an error and took a long time to boot. When it finally did boot I could not log into my account anymore. I got back on my Manjaro KDE partition and changed the ownership of the
/home/caden/ directory to my account on Manjaro (which was the same username and password) which seemed to fix my problem. I could now log in again but oddly all of my icons had changed from Numix UTouch to the GNOME default icons. I wanted to install a package from an official repository so I went to the terminal and typed in the ```
command but I recieved this message:
[[email protected] ~]$ sudo pacman -S (package) sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set [[email protected] ~]$
I now can’t use the sudo command and I can’t even use it in tty. Can anyone help?