Skip to content

macos-15 fails on sudo security authorizationdb write com.apple.trust-settings.admin allow with error NO (-60005) #11893

@JarLob

Description

@JarLob

Description

The run fails with Warning: NO (-60005)

See in the same run it works on Macos-14

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

20250120.596

Is it regression?

Regression from Macos-14

Expected behavior

Pass as it does on Macos-14

Actual behavior

Fails with

Warning: NO (-60005)

Error: Exited with code 255

Repro steps

  1. Fork https://github.com/GitHubSecurityLab/actions-permissions
  2. Run https://github.com/GitHubSecurityLab/actions-permissions/blob/macos-15/.github/workflows/test.yml from the macos-15 branch.

It runs this script which can be simplified:
https://github.com/GitHubSecurityLab/actions-permissions/blob/5c0f276d58deb0ba6463350caaff6b8e8c392125/monitor/setup.sh#L21-L56

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions