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 4e4528e3cc2..86897e2e97a 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 @@ -174,8 +174,8 @@ if [ $exit_code -eq 81 ] && [[ "$target" =~ "device" ]]; then touch './.reboot' fi -# The simulator logs comming from the sudo-spawned Simulator.app are not readable by the helix uploader -chmod 0644 "$output_directory"/*.log +# The simulator logs comming from the sudo-spawned Simulator.app are not readable/deletable by the helix uploader +chmod -R 0766 "$output_directory" # Remove empty files find "$output_directory" -name "*.log" -maxdepth 1 -size 0 -print -delete