Skip to content

createdump lacking exec bit on macOS PKG installers #121258

@hoyosjs

Description

@hoyosjs

Description

Regressed in the installer:

-rw-r--r--  1 root  wheel   201K Oct  2 15:56 /usr/local/share/dotnet/shared/Microsoft.NETCore.App/10.0.0-rc.2.25502.107/createdump
-rwxr-xr-x  1 root  wheel   185K Sep 26 11:21 /usr/local/share/dotnet/shared/Microsoft.NETCore.App/9.0.10/createdump
-rwxr-xr-x  1 root  wheel   185K Sep 26 11:50 /usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.21/createdump

That same bit is present in tar install of runtime or SDK.

Reproduction Steps

Install runtime from https://dot.net/downloads

Expected behavior

Crashes and dotnet-dump collect should work.

Actual behavior

createdump fails to execute.

Regression?

Yes, from 9.0

Known Workarounds

Add exec bit manually.

Configuration

Any macOS 10.0 PKG installed runtime

Other information

No response

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions