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: