Ubuntu has a philosophy of "It just works", if there is anything we can
do to make life saner for people, we should do.

The technically correct action for vim is probably to create the file
chown root:root;  so fixing the skel sounds a good workaround to me.

Dennis: please don't reject this (again), the case clearly exists; even
if (as you are probably technically right) the issue may not be the
fault of vim itself.  Correcting the location of the issue is much
better than a rejection, as it moves the situation forward.

Rocco: can you test the following:

  sudo touch /etc/skel/.viminfo /etc/skel/.vimrc
  sudo adduser test
  su - test
  sudo vi /etc/apt/sources.list
  ls -l ~test/.vimrc

if that is not the correct solution, can you test again for '.vim/...'.
Then these can be added to the 'vim' package.

** Changed in: vim (Ubuntu)
   Importance: Untriaged => Wishlist

** Summary changed:

- .viminfo is owned by root and mode 0600
+ vim should populate skel/.viminfo so ownership is not affected by initial sudo

** Tags added: sudo

-- 
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