Set permissions correctly for structure spec