[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276234: xterm lost $HOME/bin and $TMPDIR



On Wed, Oct 13, 2004 at 12:30:20PM +0200, Michelle Konzack wrote:
> Am 2004-10-13 05:41:37, schrieb Thomas Dickey:
> > On Tue, Oct 12, 2004 at 10:20:10PM +0200, Michelle Konzack wrote:
> > > Package: xterm
> > > Version: 4.1.0-16woody3
> > > Severity: normal
> > > 
> > > Error description:
> > > 
> > > I have in my ~/.bash_profile and in ~/.xsession the line 
> > > 
> > > export PATH=$HOME/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin
> > 
> > perhaps xterm isn't being run as a login shell:
> 
> It was every time working...
> Since the last update I can not use my ~/bin anymore.

But if xterm is not run as a login shell, it won't read the ~/.bash_profile,
and also (for a few years) setuid processes (xterm is one) will have their
environment mashed to exclude customizations such as this.
 
> The Error above is only in '(u)xterm' and not in 'mlterm' or 'eterm'

xterm runs setuid to update utmp.
Some of the other terminals don't do this.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpWtVyfoI9Hk.pgp
Description: PGP signature


Reply to: