The google earth ebuild installs many files with wrong permissions: some xml files are marked executable and many files have uid and gid set to 1000. emerge --info: Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17 i686) ================================================================= System uname: 2.6.17 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.du.se/pub/os/gentoo http://gentoo.mirror.solnet.ch" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi akode alsa apache2 arts audacious audiofile avi berkdb bitmap-fonts bzip2 cddb cdparanoia cli crypt cups curl dri dvd dvdread emacs emboss encode exif ffmpeg firefox flac fortran gdbm gif gimpprint glut gmp gtk gtk2 idn imlib isdnlog java javascript jpeg kde kdeenablefinal libg++ libwww live logrotate mad mikmod mng motif mp3 mpeg mule ncurses network nls no_wxgtk1 nptl ogg opengl pam pcmcia pcre pdf pdflib perl png pnp povray pppd python qt quicktime readline real reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf x264 xcomposite xine xml xorg xscreensaver xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_de userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 89763 [details] Output of ls -lRn /opt/googleearth Directory listing of /opt/googleearth
thanks, fixed Index: googleearth-4_beta.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/x11-misc/googleearth/googleearth-4_beta.ebuild,v retrieving revision 1.5 diff -u -b -B -r1.5 googleearth-4_beta.ebuild --- googleearth-4_beta.ebuild 13 Jun 2006 18:42:11 -0000 1.5 +++ googleearth-4_beta.ebuild 22 Jun 2006 07:29:54 -0000 @@ -59,12 +59,16 @@ dodoc README.linux cd bin - tar xpf ${WORKDIR}/${PN}-linux-x86.tar + tar xf ${WORKDIR}/${PN}-linux-x86.tar exeinto /opt/${PN} doexe * cd ${D}/opt/${PN} - tar xpf ${WORKDIR}/${PN}-data.tar + tar xf ${WORKDIR}/${PN}-data.tar + + # make sure we install with correct permissions + fowners -R root:root /opt/${PN} + fperms -R a-x,a+X /opt/googleearth/{xml,res{,ources}} } pkg_postinst() {