Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83200 - vo_base.vim in Vimoutliner has the wrong permissions set, which makes it impossible to run as a regular user.
Summary: vo_base.vim in Vimoutliner has the wrong permissions set, which makes it impo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 08:50 UTC by Hans Sjunnesson
Modified: 2005-02-24 10:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Sjunnesson 2005-02-24 08:50:38 UTC
After emerging vimoutliner-0.3.3a /usr/share/vim/vimfiles/ftdetect/vo_base.vim has its permission bits set to -rw-r-----  1 root root 2706 Jan 19 16:16 vo_base.vim.
Unless set readable by others, non-root users running vim on the filetypes defined in vo_base.vim won't have a functioning vimoutliner.

Reproducible: Always
Steps to Reproduce:
1. % emerge vimoutliner
2. % ls -l /usr/share/vim/vimfiles/ftdetect/vo_base.vim


Actual Results:  
-rw-r-----  1 root root 2706 Jan 19 16:16 vo_base.vim 
And going: 
% vim foo.otl 
will not trigger the filetype detection in vo_base.vim 

Expected Results:  
Show:  
-rw-r--r--  1 root root 2706 Jan 19 16:16 vo_base.vim 
And going: 
% vim foo.otl 
should enable all the vimoutliner functionality in the other vimfile, which appear to have 
correct permissions, by the way. 

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20050125-r0, 
2.6.10-gentoo-r7 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r7 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.6.9 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 09:42:56)] 
dev-lang/python:     2.3.5 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r4 
sys-devel/libtool:   1.5.10-r5 
virtual/os-headers:  2.4.22-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ds.thn.htu.se/linux/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp.du.se/pub/os/gentoo" 
LANG="en_US" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X a52 aalib aim alsa apache2 apm arts avi berkdb bidi bitmap-fonts cdr crypt cscope 
cups curl dga directfb divx4linux doc dts dvb dvd dvdread emboss encode f77 faad fam ffmpeg 
flac font-server foomaticdb fortran freetype gdbm gif gpm gtk gtk2 httpd icq imagemagick 
imap imlib ipv6 java jikes jpeg junit kde libg++ libwww mad md5sum mikmod mmx motif 
moznomailmozsvg mpeg msn mysql nas ncurses nls nvidia offensive ogg oggvorbis openal 
opengl oss pampda pdflib perl png ppds python qt quicktime radeon readline ruby samba sdl 
slang spell sse ssl stream svg svga tcltk tcpd tetex tga theora threads tiff truetype 
truetype-fonts type1-fonts usb vcd vim-with-x vlm vorbis wxwindows x86 xml xml2 xosd 
xscreensaver xv xvid zlibvideo_cards_geForce" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Ciaran McCreesh 2005-02-24 10:22:34 UTC
Mmmm, weird. Very weird. 0.3.3a-r1 fixes this.

Thanks.