Fixes permissions for provisioning script execution