Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69398 - Thunderbird stores temp files in /var/tmp, making it impossible for non-portage users to print
Summary: Thunderbird stores temp files in /var/tmp, making it impossible for non-porta...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-29 06:01 UTC by Niklas Herder
Modified: 2005-06-13 14: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 Niklas Herder 2004-10-29 06:01:00 UTC
When a user who is not a member of the portage group tries to print, thunderbird can't write a temp file to /var/tmp, causing the printing to fail.

Reproducible: Always
Steps to Reproduce:
1. Login as a user who is not a member of the 'portage' group.
2. Open thunderbird.
3. Right-click an email and select 'Print'.
Actual Results:  
Nothing. The line 'Cannot write temp file' is written to the console.


Expected Results:  
It should have written its temp file to /tmp instead of /var/tmp, which is owned
by portage:portage.


When I add the user to the portage group, everything works fine.

--

niklas@zuul niklas $ emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks prelink sandbox"
GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo http://ftp.du.se/pub/os/gentoo
ftp://ftp.du.se/pub/os/gentoo ftp://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X Xaw3d aavm acpi acpi4linux alsa apache2 apm arts async
audiofile avi berkdb bitmap-fonts bootspla cdparanoia cdr chroot crypt cups dga
dmxdv dvd encode f77 fbcon fbdev ffmpeg flac foomaticdb freetype gd gdbm gif
gimpprint gpm gtk gtk2 imap imlib imlib2 java jikes jpeg junit kde kerberos krb4
ldaplibg++ libwww lufsusermount mad maildir md5sum mikmod mmx motif mozilla mpeg
mpeg4 music ncurses nls nptl offensive oggvorbis openal opengl pam pdflib perl
picpng ppds propolice python qt quicktime readline samba sasl sdl slang slp
spell sse ssl svga tcltk tcpd theora tiff truetype usb wmf x86 xface xine
xinerama xmlxml2 xmms xosd xprint xv xvid zlib video_cards_nvidia"
Comment 1 Niklas Herder 2004-10-29 06:02:23 UTC
My thunderbird version:

niklas@zuul niklas $ emerge -s thunderbird
Searching...
[ Results for search key : thunderbird ]
[ Applications found : 2 ]

*  mail-client/mozilla-thunderbird
      Latest version available: 0.8
      Latest version installed: 0.8
      Size of downloaded files: 32,530 kB
      Homepage:    http://www.mozilla.org/projects/thunderbird/
      Description: Thunderbird Mail Client
      License:     MPL-1.1 NPL-1.1
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-06-13 13:40:07 UTC
This bug can be closed now, see bug 96005
Comment 3 Niklas Herder 2005-06-13 14:22:44 UTC
Somewhere something changed the ownership of my /var/tmp directory to
portage:portage. Now that I've known that this is not what a default
installation has, I'm closing this.