A note or two for posterity. It was pointed out that other applications
are typically run as root the first time and may have similar issues,
and would this approach be appropriate for those as well.  I only
remember seeing one such case before.  I don't recall what it was, but I
think it had something to do with using my tv tuner card.  Anyway, it
was different in that the app complained loudly that it couldn't write
to its dotfile, so it was simple to diagnose and fix.  Vim fails
silently here, making it much more difficult.  Also, this is only
appropriate for vim because it's depended on by ubuntu-minimal, so the
change will benefit the first user because vim (and therefore the skel
file) will already be on the system.  This exact approach might not work
or be appropriate for other similar situations.

-- 
vim should populate skel/.viminfo so ownership is not affected by initial sudo
https://launchpad.net/bugs/58002

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to