Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed reproduction—the diagnosis was correct. I reproduced the failure on macOS 26.6.2 with the mise precompiled Ruby 4.0.6. The portable build uses --enable-load-relative, so Ruby resolves its executable path during startup. The Seatbelt profile allowed /private/tmp but denied the metadata lookup on its parent /private, which produced the rb_check_realpath_internal EPERM before the tap formula ran.

I opened #12940 with a narrow fix: allow file-read-metadata on the literal /private directory. It does not allow reading or listing /private or its descendants. The regression test verifies that stat /private succeeds while ls /private remains denied.

AI-assisted — Tool: Code…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by soodoh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants