#259060 by pete-drupal, Pete points out that php5's mkdir is recursive and can set mode... woot! less code for me to maintain... /me sings praises..