MDL-29016 allow distributions to set dataroot permissions