[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Peter Tribble
On 4/30/07, Darren J Moffat wrote: > On a system with more than one user who uses GNOME you will actually > reduce the number of directories in /tmp if $TMPDIR is /tmp/$LOGNAME > rather than increase them. Not so; I use GNOME and it doesn't leave anything in /tmp. There's the normal .X11-{pipe,un

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Shawn Walker
On 30/04/07, Bart Smaalders wrote: > Peter Tribble wrote: > > On 4/30/07, Darren J Moffat wrote: > >> On a system with more than one user who uses GNOME you will actually > >> reduce the number of directories in /tmp if $TMPDIR is /tmp/$LOGNAME > >> rather than increase them. > > > > Not so; I us

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Chris Pickett
On 4/30/07, John Plocher wrote: > Paul Jakma wrote: > >> Or, in other words, maybe the real fix here is to fix Mozilla (etc) to > >> default their download dirs to $HOME/Downloads :-) > > > > /tmp/$LOGNAME/ would have my vote over anything under $HOME. > > > Seriously, why is > change TMPD

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Bart Smaalders
Peter Tribble wrote: > On 4/30/07, Darren J Moffat wrote: >> On a system with more than one user who uses GNOME you will actually >> reduce the number of directories in /tmp if $TMPDIR is /tmp/$LOGNAME >> rather than increase them. > > Not so; I use GNOME and it doesn't leave anything in /tmp. Th

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Darren J Moffat
James Carlson wrote: > John Plocher writes: >> This leads me to ask why not set TMPDIR to $HOME/tmp? > > I understand the impulse, but please don't do that. $HOME is commonly > NFS-mounted, and puting $TMPDIR there will trash setuid applications. $HOME/tmp also introduces locking issues if the s

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Paul Jakma
On Sun, 29 Apr 2007, John Plocher wrote: > This leads me to ask why not set TMPDIR to $HOME/tmp? Ouch, potentially slow. I like having GNOME use relatively fast tmpfs rather than NFS.. > On a single user system, it really doesn't matter which resources are > used for this stuff - $HOME, /tmp,

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Darren J Moffat
James Carlson wrote: > Casper.Dik at Sun.COM writes: >> Unfortunately the use of TMPDIR is inherited across "su" and >> then, when users assume roles, TMPDIR no longer works. > > That point would seem to be a show-stopper to me. Having an RBAC role > fail to work because $TMPDIR is now set (when

[shell-discuss] Re: PSARC FastTrack [05/02/2007]: Default shellenvironment: manual page subsystem

2007-04-30 Thread Darren J Moffat
Roland Mainz wrote: >> 2) Bring this forward as a full case (or, I will derail it and get >> it there anyway). >> This is not an assessment of "good or bad". It simply does not >> meet the >> requirement of "obvious" for a fast-track (while option #1 does >> seem obvious). > >

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Nicolas Williams
On Mon, Apr 30, 2007 at 09:03:58AM -0700, John Plocher wrote: > Paul Jakma wrote: > >>Or, in other words, maybe the real fix here is to fix Mozilla (etc) to > >>default their download dirs to $HOME/Downloads :-) > > > >/tmp/$LOGNAME/ would have my vote over anything under $HOME. > > > Seriously,

[shell-discuss] Re: PSARC FastTrack [05/02/2007]: Default shellenvironment: manual page subsystem

2007-04-30 Thread Joseph Kowalski
Darren J Moffat wrote: > Roland Mainz wrote: > >>> 2) Bring this forward as a full case (or, I will derail it and get >>> it there anyway). >>> This is not an assessment of "good or bad". It simply does not >>> meet the >>> requirement of "obvious" for a fast-track (while option

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread John Plocher
Paul Jakma wrote: >> Or, in other words, maybe the real fix here is to fix Mozilla (etc) to >> default their download dirs to $HOME/Downloads :-) > > /tmp/$LOGNAME/ would have my vote over anything under $HOME. Seriously, why is change TMPDIR to be /tmp/$LOGNAME better than Fix

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread Alan Coopersmith
Darren J Moffat wrote: > On a system with more than one user who uses GNOME you will actually > reduce the number of directories in /tmp if $TMPDIR is /tmp/$LOGNAME > rather than increase them. Actually, you increase it, since if $TMPDIR is not set, GNOME puts them in /var/tmp/. (Which is the

[shell-discuss] Re: PSARC 2007/236 Default shell environment: TMPDIR

2007-04-30 Thread James Carlson
John Plocher writes: > This leads me to ask why not set TMPDIR to $HOME/tmp? I understand the impulse, but please don't do that. $HOME is commonly NFS-mounted, and puting $TMPDIR there will trash setuid applications. -- James Carlson, Solaris Networking Sun Microsystems / 1 Networ