Agreed os.walk / os.fchmod is really the right way to do this... I was sheepishly hoping no one would guilt me into doing it, but since you have, I'll take a crack at it and update accordingly.