Fixed permissions on directory create (third time is a charm?)