.viminfo owned by root?

The .viminfo file in my home directory is owned by root. Could anyone please explain how that could have happened without me asking it?

$ ls -la | grep .viminfo
-rw-------  1 root    root       4175 Nov  3 19:11 .viminfo

Solution 1:

I think it was created while using "sudo vim" to edit some file on the system.

Solution 2:

This could happen if you run vim after sudo -s

You can chown it back to your id:group anyway, does't hurt;-)