From owner-freebsd-questions Thu Jan 20 11:36: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from netmint.com (netmint.com [207.106.21.130]) by hub.freebsd.org (Postfix) with ESMTP id 922C814A20 for ; Thu, 20 Jan 2000 11:36:00 -0800 (PST) (envelope-from andriss@andriss.com) Received: from localhost (andriss@localhost) by netmint.com (8.9.3/8.9.3) with ESMTP id OAA97206; Thu, 20 Jan 2000 14:35:46 -0500 (EST) Date: Thu, 20 Jan 2000 14:35:42 -0500 (EST) From: Andriss X-Sender: andriss@netmint.com To: cjclark@home.com Cc: questions@FreeBSD.ORG Subject: Re: suggestion to prevent /tmp races In-Reply-To: <20000120142917.D72914@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- >And BTW, my .login creates a 600 directory in /var/tmp and then sets >TMPDIR to that directory. This helps for the many programs that use >TMPDIR. My server has /usr/tmp and /var/tmp pointing to /tmp which is a special partition mounted to disallow execution, suid and other stuff you don't want people to do on /tmp. Creating a temp dir in /tmp is a good idea though, I might put it in the global profile for the server... Question: don't you mean 700 directory? Andriss - -- ______________________________________________________________ Andrey Kholodenko http://www.andriss.com Download My Public PGP Key From http://www.andriss.com/pgp.txt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: 2.6.3a Charset: noconv iQCVAwUBOIdjkiQe9jf/ODl9AQFxwgP/YKcaF5vqUH3ByKkcCXhf8KOssSmpmuqd tsKLRVgAGuJwm4gxaSraf5nP1rMB4/awnRyBSWWAZrKV+6NgNX40qWUT03Jq8ZHL /sjshVW/10glXFEFepSA8kePu636/tqQwYcenDJ1q/C1Oqzbl59ANOuX6fFrnQyy 2yuDnt+Jdkc= =OmLX -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message