[Bug 58002] Re: Some programs create root-owned files in user $HOME when run under sudo
Barin Montpris
58002 at bugs.launchpad.net
Mon May 10 13:27:09 UTC 2021
I know it's been a long time since the original bug was reported and the
last message was posted. However, I am unable to reproduce this bug on
Ubuntu 20.04.2. Perhaps that's because I already have everything
mentioned here as my own user. If I rename ~/.vimrc and ~/.viminfo and
then run `sudo vi /etc/apt/source.list`, then a default .vimrc and
.viminfo are not created in my user directory. I can also see that
there is still nothing in /etc/skel related to vim.
It has been 8 years and things do change. I've only been using vim for
a couple of years, so it's quite possible that the ~/.vimrc isn't
created upon first running `vi` or `vim` anymore.
What should we do with this bug?
--
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