From owner-freebsd-hackers Thu Mar 11 23:42:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 4C50814BF2 for ; Thu, 11 Mar 1999 23:42:27 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony [10.0.0.6]) by rover.village.org (8.9.3/8.6.6) with ESMTP id HAA64237; Fri, 12 Mar 1999 07:42:09 GMT Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA16875; Fri, 12 Mar 1999 00:42:17 -0700 (MST) Message-Id: <199903120742.AAA16875@harmony.village.org> To: "Geoff Rehmet" Subject: Re: The infamours "temp cleaner" debate Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Fri, 12 Mar 1999 08:20:43 +0200." <199903120620.IAA09997@hangdog.is.co.za> References: <199903120620.IAA09997@hangdog.is.co.za> Date: Fri, 12 Mar 1999 00:42:17 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199903120620.IAA09997@hangdog.is.co.za> Geoff Rehmet writes: : Hmm, yes, after everyone though that one had been put to bed. : I've been trying to write a script that is not susceptible to : security problems, to handle my temp cleaning - delete old files : from /tmp and /var/tmp. How is this not handled by fts(3) now? It does the race condition proof algorythm. Also, I believe that find -delete also is immune to the race conditions as well. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message