Gary Burd: Now that's overkill. For that matter, this entire post is overkill.
Chuckle! Don't be shy. Truth be told, I want to go a step further... make the original file in tempfile.mktemp() and move the try:link/unlink/chmod code to another script w/setuid.
Thoughts?
I am running on a shared host, and I'm kinda uncomfortable with the entire weblog software running under my user id...
Fencing off the software into portions that have read access and portions that have read/write access just makes good sense to me.