Fixed permissions to allow building the diagnostics.zip