added check for non permission to create dir