*** This bug is a duplicate of bug 58002 *** https://bugs.launchpad.net/bugs/58002
confirmed. this is a duplicate of bug #58002, it has been pointed out there that it is not a bug of vim, but of the usage of sudo in general. Another workaround: use $ sudo -H foo.txt or $ sudoedit foo.txt ** This bug has been marked a duplicate of bug 58002 Some programs create root-owned files in user $HOME when run under sudo -- Wrong .viminfo creation permissions when running "sudo vim" https://bugs.launchpad.net/bugs/93449 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs