Bugtraq mailing list archives
Re: /tmp topic
From: Brad Cavanagh <brad () success-info com>
Date: Fri, 15 Dec 2000 16:19:58 -0800
Is there a standard or a guide or a "HOWTO" <g> on using tmp directories safely? About using mkstemp(), assigning correct permissions, erasing the file at program termination, etc.
Well, Tim Jenness wrote the File::Temp module for Perl which returns the filehandle and filename together, which helps guarantee that a race condition cannot occur between checking for the existence of the file and its opening. http://search.cpan.org/search?dist=File-Temp The readme has a small smattering of information on temporary file creation and the like, so it could be of interest to some people. --- Brad Cavanagh, Success Information Systems phone: (250) 381-8811 fax: (250) 381-8815 web: http://www.success-info.com
Current thread:
- /tmp topic Octavio / Super (Dec 16)
- Re: /tmp topic Max Gribov (Dec 18)
- Re: /tmp topic Tollef Fog Heen (Dec 19)
- Re: /tmp topic Glynn Clements (Dec 19)
- Re: /tmp topic Self, Karsten (Dec 26)
- Re: /tmp topic Kris Kennaway (Dec 18)
- Re: /tmp topic Kris Kennaway (Dec 19)
- <Possible follow-ups>
- Re: /tmp topic Brad Cavanagh (Dec 18)
- Re: /tmp topic Ben Greenbaum (Dec 26)
- Re: /tmp topic Max Gribov (Dec 18)