Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 00:42:17 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        "Geoff Rehmet" <geoffr@is.co.za>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: The infamours "temp cleaner" debate 
Message-ID:  <199903120742.AAA16875@harmony.village.org>
In-Reply-To: Your message of "Fri, 12 Mar 1999 08:20:43 %2B0200." <199903120620.IAA09997@hangdog.is.co.za> 
References:  <199903120620.IAA09997@hangdog.is.co.za>  

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903120742.AAA16875>