Re: to find fastest debian mirror
Bruce Perens <bruce@va.debian.org> writes:
> I would suggest that the program create its own temporary directory under
> /tmp and delete it when it is done, rather than insist that ~/tmp exist.
> Set your umask so that others do not have write permissions on the directory
> and its files _before_ you create the directory. Mkdir will fail if any of
> the security problems exist.
Instead of using "/tmp", I think it should firast try the environment
variable $TMPDIR, and then go to /tmp if that doesn't exist. ($TMPDIR
seems to be a fairly standard variable, so why not use it?)
That's just a small nit - this looks like a really cool idea. I have done
the same thing a few times by hand trying to find the fastest mirror. Now
I can check each and every time :-)
Later,
Dale
--
+-------------------- finger for pgp public key ---------------------+
| Dale E. Martin | University of Cincinnati Savant Research Laboratory |
| dmartin@ececs.uc.edu | http://www.ececs.uc.edu/~dmartin |
+----------------------------------------------------------------------+
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: