[18180] in bugtraq

home help back first fref pref prev next nref lref last post

Re: /tmp topic

daemon@ATHENA.MIT.EDU (Kris Kennaway)
Tue Dec 19 17:21:13 2000

Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
              protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr"
Content-Disposition: inline
Message-ID:  <20001218192634.A3184@citusc.usc.edu>
Date:         Mon, 18 Dec 2000 19:26:34 -0800
Reply-To: Kris Kennaway <kris@FREEBSD.ORG>
From: Kris Kennaway <kris@FREEBSD.ORG>
To: BUGTRAQ@SECURITYFOCUS.COM
In-Reply-To:  <20001215211258.A10265@citusc.usc.edu>; from kris@FREEBSD.ORG on
              Fri, Dec 15, 2000 at 09:12:58PM -0800

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> > 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

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6PtVqWry0BWjoQKURAvjuAJ0e33Hu0J+A/wrAuym1pbrhHSPleACgtyIp
9dbY64tMwRF/qAfA+MBmV/E=
=mD6X
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--

home help back first fref pref prev next nref lref last post