I agree that vim is doing what it's supposed to do.  But the result is a
problem that's difficult to detect and even harder to track down.  It's
a consequence of the way we use sudo, which is a great idea, but not
standard, and a lot of standard bugless things fail to accommodate it,
so we have to make our own accommodations.  For example, we put /sbin in
the PATH of mortal users, which other distros don't do, because things
like 'sudo ifconfig' wouldn't work otherwise.  We could just say 'use
sudo /sbin/ifconfig', but we don't.  Users are editing files with sudo
because they're supposed to, and something that nobody meant to happen
(.viminfo is owned by root) is happening.  Please leave this bug open
until somebody (besides the guy who already confirmed it) can break the
tie or something.

** Changed in: vim (Ubuntu)
       Status: Rejected => Unconfirmed

-- 
.viminfo is owned by root and mode 0600
https://launchpad.net/bugs/58002

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to