Bug#680624: vim-addon-manager - Create stuff in /var/lib/vim unreadable for users

James McCoy jamessan at debian.org
Wed Jul 11 02:53:36 UTC 2012

On Sat, Jul 07, 2012 at 02:53:13PM +0200, Bastian Blank wrote:
> vim-addons respects umask a bit too much. It creates anything in
> /var/lib/vim, aka for any user, respecting the umask of the calling
> process, 027 in my case. So no user can read the stuff.

Attached patch uses a specific mode when installing an addon as root.

However, this doesn't correctly handle the case of an actual root user
installing addons for themself.  This would be better handled by
tracking whether it's a "system" install or not, instead of an install
being performed by root.

GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-a-standard-directory-mode-when-installing-an-add.patch
Type: text/x-diff
Size: 2731 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20120710/94edbd9c/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20120710/94edbd9c/attachment.pgp>

More information about the pkg-vim-maintainers mailing list