Way cool. Thanks for the tip on "mktemp". I've been dancing around that particular problem for years. My standard work-around has always been to create a directory with isolated rights. That's not nearly as elegant as using mktemp.
Jon On Wednesday 20 February 2002 12:46 pm, Jeremy P wrote: > On Wed, 20 Feb 2002, Jon Carnes wrote: > > The truth be known, I use /root/tmp for these... but modified the scripts > > for general use. > > Well, that's fine, but I still think it's good to be in the habit of using > mktemp (or mkstemp(3) for you programmers) anytime you need a temporary > file. I'm amazed at the number of programs out there which still use > unsafe temporary file generation, even given the amount of attention this > has gotten on Bugtraq and other security fora. > > --Jeremy > > _______________________________________________ > TriLUG mailing list > http://www.trilug.org/mailman/listinfo/trilug
