Re: Bug#20241: Timezones should depend on debian-utils
In article <email@example.com>,
Manoj Srivastava <firstname.lastname@example.org> wrote:
> This suffers from more of a window than my method does.
> rm -f $TEMPFILE && touch $TEMPFILE is safer than this.
> who does happen to be a security expert
Well I'm not one for a living but it is one of my hobbies. This thread is
long enough as it is but I just can't resist. /bin/sh is a Posix shell,
so why not simply use:
: > /tmp/tempfile.$$ || exit 1
set -C causes a Posix shell to open files with O_EXCL
Miquel van Smoorenburg | Our vision is to speed up time,
email@example.com | eventually eliminating it.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com