[Bug 58002] Re: Some programs create root-owned files in user $HOME when run under sudo

Phillip Susi psusi at ubuntu.com
Tue May 7 13:58:19 UTC 2013


There is a tradeoff in choosing which home directory to use.  By using
your own, your config files are used and applications behave the way you
have configured them and come to expect them to.  By using root's, they
use root's config, which usually means defaults, and is not what you
expect.  The problem can't be solved by sudo.  The solution is the empty
.vimrc in /etc/skel.


** Package changed: ubuntu => vim (Ubuntu)

** Changed in: vim (Ubuntu)
       Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/58002

Title:
  Some programs create root-owned files in user $HOME when run under
  sudo

Status in “vim” package in Ubuntu:
  Triaged

Bug description:
  The first time I noticed this I thought I'd done something wrong.  But
  5 installations later, my .viminfo is always owned by root, causing
  certain things to malfunction or not function at all.  For example I
  can't copy and paste text (vim-style) from one file to another, and
  despite my .vimrc magic my cursor is always on line 1, column 1 when I
  open a file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/58002/+subscriptions




More information about the foundations-bugs mailing list