0

I copied my default config file to my ~/.config directory and then gave myself ownership of that file not realizing that it would give my user root permissions system wide without having to type my password for sudo. I don't like that and want to go back to having a regular user account. Here is the command I used to copy the file and change permissions:

cp -rv /etc/libvirt/libvirt.conf ~/.config/libvirt/ &&sudo chown $dino:$dino ~/.config/libvirt/libvirt.conf 

dino is my user and I guess I accidentally typed it for my group as well.

Is there a way to fix this?

waltinator
  • 37,856
dino
  • 9

0 Answers0