Create directory and set permissions