[torqueusers] TMPDIR

Garrick Staples garrick at usc.edu
Thu Dec 8 13:28:46 MST 2005


On Thu, Dec 08, 2005 at 11:46:45AM +0100, Ronny T. Lampert alleged:
> > The variable "$tmpdir" is defined in the mom config:
> > $tmpdir /data
>  > The user was using a set of scripts that used the environment  variable
> > $TMPDIR and the qsub -v option:
> > qsub ... -v "TMPDIR=/some/directory" ...
> 
> Ah - NOW we know what happened and this is indeed bad behaviour.
> 
> This should/could be prevented with a simple check against $TMPDIR being set
> to another value than the mom-configured $tmpdir and then the removing
> should be omitted.

I checked in patches that removed the user-supplied TMPDIR handling
and fix the symlink handling in remtree().


-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20051208/f34c24c4/attachment.bin


More information about the torqueusers mailing list