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

Bastian Blank waldi at debian.org
Sat Jul 7 12:53:13 UTC 2012


Package: vim-addon-manager
Version: 0.5.0
Severity: important

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.

| drwxr-x--- 4 root root 4096 Jul  7 14:50 /var/lib/vim/addons/
| drwxr-x--- 2 root root 4096 Jul  7 14:50 /var/lib/vim/addons/ftdetect/
| lrwxrwxrwx 1 root root   41 Jul  7 14:50 /var/lib/vim/addons/ftdetect/puppet.vim -> /usr/share/vim/addons/ftdetect/puppet.vim
| drwxr-x--- 2 root root 4096 Jul  7 14:50 /var/lib/vim/addons/syntax/
| lrwxrwxrwx 1 root root   39 Jul  7 14:50 /var/lib/vim/addons/syntax/puppet.vim -> /usr/share/vim/addons/syntax/puppet.vim

Bastian

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-vim-maintainers mailing list