Bug#499563: Please warn when using "vim-addons install" as root
James Vega
jamessan at debian.org
Thu Dec 17 13:21:33 UTC 2009
On Fri, Sep 19, 2008 at 09:50:32PM +0100, Chris Lamb wrote:
> I would find it extremely useful if "vim-addons install" displayed a warning
> when run as root.
>
> My brain must think "Oh, I'm installing something, so I therefore require
> root" and my fingers respond by prefixing with sudo, resulting in dirs in
> ~/.vim that are owned by root, etc.
It's normal to run vim-addons as root though, in the case that the addon
is being installed globally. I guess warning if vim-addons is being run
as root or SUDO_COMMAND is in the environment and the --system-wide
directory isn't set could work.
I've also added the target directory to the installation message.
Info: installing removed addon 'cvsmenu' to /home/jamessan/.vim
--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20091217/c2920a09/attachment-0001.pgp>
More information about the pkg-vim-maintainers
mailing list