Bugtraq mailing list archives
Re: /tmp topic
From: Kris Kennaway <kris () FREEBSD ORG>
Date: Mon, 18 Dec 2000 19:26:34 -0800
On Fri, Dec 15, 2000 at 09:12:58PM -0800, Kris Kennaway wrote:
On Thu, Dec 14, 2000 at 10:10:07PM -0800, Octavio / Super wrote: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.
Forgot to mention that shell scripts and the like should make use of something like FreeBSD's mktemp(1) which basically provides a wrapper around the libc functions. Kris
Attachment:
_bin
Description:
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)