diff --git a/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-runner.apple.sh b/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-runner.apple.sh index 0f9188a88ab..738d2c654af 100644 --- a/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-runner.apple.sh +++ b/src/Microsoft.DotNet.Helix/Sdk/tools/xharness-runner/xharness-runner.apple.sh @@ -192,6 +192,7 @@ if [ $exit_code -eq 86 ]; then fi # The simulator logs comming from the sudo-spawned Simulator.app are not readable/deletable by the helix uploader +sudo chown -R helix-runner "$output_directory" chmod -R 0766 "$output_directory" # Remove empty files