Set the mode of the provisioned file