<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>72413</bug_id>
          
          <creation_ts>2004-11-24 19:32 0000</creation_ts>
          <short_desc>gtkdiskfree-1.9.3 install violates the sandbox</short_desc>
          <delta_ts>2004-11-29 17:59:55 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>yselkowitz@hotmail.com</reporter>
          <assigned_to>vapier@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>yselkowitz@hotmail.com</who>
            <bug_when>2004-11-24 19:32:19 0000</bug_when>
            <thetext>Make install in gtkdiskfree-1.9.3/po causes violations of the sandbox.  The problem is that the installdir variables aren&apos;t preceded by $(DESTDIR), and make install tries to install directly to /usr/share/locale, which violates the sandbox.

Reproducible: Always
Steps to Reproduce:
1.emerge gtkdiskfree

Actual Results:  
Here&apos;s the relevant output from make install:

Making install in po
make[1]: Entering directory
`/var/tmp/portage/gtkdiskfree-1.9.3/work/gtkdiskfree-1.9.3/po&apos;
if test -r &quot;.././mkinstalldirs&quot;; then \
  .././mkinstalldirs /usr/share; \
else \
  /bin/sh ../mkinstalldirs /usr/share; \
fi
ACCESS DENIED  open_wr:   /usr/share/locale/fr/LC_MESSAGES/gtkdiskfree.mo
/bin/install: cannot create regular file
`/usr/share/locale/fr/LC_MESSAGES/gtkdiskfree.mo&apos;: Permission denied
installing fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gtkdiskfree.mo
ACCESS DENIED  open_wr:   /usr/share/locale/pl/LC_MESSAGES/gtkdiskfree.mo
/bin/install: cannot create regular file
`/usr/share/locale/pl/LC_MESSAGES/gtkdiskfree.mo&apos;: Permission denied
installing pl.gmo as /usr/share/locale/pl/LC_MESSAGES/gtkdiskfree.mo
ACCESS DENIED  open_wr:   /usr/share/locale/ru/LC_MESSAGES/gtkdiskfree.mo
/bin/install: cannot create regular file
`/usr/share/locale/ru/LC_MESSAGES/gtkdiskfree.mo&apos;: Permission denied
installing ru.gmo as /usr/share/locale/ru/LC_MESSAGES/gtkdiskfree.mo

And emerge exits with the following error:

--------------------------- ACCESS VIOLATION SUMMARY---------------------------
LOG FILE = &quot;/tmp/sandbox-app-admin_-_gtkdiskfree-1.9.3-11733.log&quot;

open_wr:   /usr/share/locale/fr/LC_MESSAGES/gtkdiskfree.mo
open_wr:   /usr/share/locale/pl/LC_MESSAGES/gtkdiskfree.mo
open_wr:   /usr/share/locale/ru/LC_MESSAGES/gtkdiskfree.mo
--------------------------------------------------------------------------------



Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.4.26-gentoo-r11 i686)
=================================================================
System uname: 2.4.26-gentoo-r11 i686 AMD Athlon(TM)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -pipe -mcpu=i686 -fomit-frame-pointer&quot;
CHOST=&quot;i386-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe -mcpu=i686 -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.us.gentoo.org/gentoo-portage&quot;
USE=&quot;X accessibility aim alsa apm arts audiofile avi berkdb bitmap-fonts bonobo
cdr crypt cups curl emacs encode esd exif f77 fam flac foomaticdb fortran ftp gd
gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib
java jpeg junit kde lcms libg++ libgda libwww mad mikmod mime ming mmap motif
mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oscar oss pam pcre pda
pdflib perl ping png postgres ppds python qt quicktime readline ruby sasl sdl
shared sndfile spell sqlite ssl svg svga tcltk tcpd tetex tidy tiff truetype usb
wmf wxwindows x86 xml xml2 xmms xpm xv yahoo zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-11-29 17:59:55 0000</bug_when>
            <thetext>hrm, i tested gtkdiskfree on a box that had USE=-nls instead of my normal box

fixed in cvs</thetext>
          </long_desc>
      
    </bug>

</bugzilla>