Skip to content

Fix named mutex storage for .NET builds - #3106

Draft
Saipriya-1144 wants to merge 2 commits into
mainfrom
user/vchintalapat/fix-dotnet-build-mutex-storage
Draft

Saipriya-1144 wants to merge 2 commits into
mainfrom
user/vchintalapat/fix-dotnet-build-mutex-storage

Conversation

@Saipriya-1144

Copy link
Copy Markdown
Contributor

.NET changed named mutexes on Unix to be user-scoped by default: breaking change.

  • Processes sharing a default named mutex must use the same Linux UID, mutex name, and backing-storage location.
  • The backing storage must belong to that user and have permissions that prevent tampering by other users.

This change sets XDG_RUNTIME_DIR to a private, UID-owned directory with 0700 permissions before running .NET build commands.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5c68e029-f614-42c0-b44d-7960e07375f2
@Saipriya-1144
Saipriya-1144 requested a review from a team as a code owner October 20, 2026 06:05
@Saipriya-1144
Saipriya-1144 marked this pull request as draft October 20, 2026 06:16
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5c68e029-f614-42c0-b44d-7960e07375f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant