Repository navigation
Runner health: Full Disk Access check reports "Not allowed" when ~/Library/.../com.apple.TCC/TCC.db doesn't exist - #93
Merged
danielehrhardt merged 1 commit intoOct 6, 2026
Conversation
…en nothing protected exists The runner check opened only the per-user TCC.db and called any error a denial, so a Mac without that file warned "Not allowed" even with Full Disk Access granted. Both the runner health and the permissions view now use one probe that tries the user and system TCC.db, then ~/Library/Safari, Mail and Messages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Full Disk Access check no longer says "Not allowed" on Macs that don't have the per-user privacy database (TCC.db). Unit tests (80) and typecheck pass. I did not run it on the "MacBook Pro von m" runner, where the bug showed up. The fix only takes effect there once this is merged and the runner is updated.
Runner health: Full Disk Access check no longer warns when the privacy database is missing
Problem: On some Macs,
~/Library/Application Support/com.apple.TCC/TCC.dbdoesn't exist. The runner health check only tried that one file and treated every error as a denial. A file-not-found therefore showed "Not allowed" even when Full Disk Access was granted and working. The permissions view had its own copy of the same check.Changes
packages/core/src/services/fullDiskAccess.ts. It tries several places that macOS only opens with Full Disk Access, in this order:TCC.db/Library/Application Support/com.apple.TCC/TCC.db~/Library/Safari,~/Library/Mail,~/Library/Messagespackages/core/src/remote/health.tsuses the shared check.fullDiskAccess()now returnsboolean | null. An unknown result shows "Couldn't check — none of the protected folders exist here". Before, it fell back to a message about the screen helper, which was wrong here.packages/core/src/services/permissions.tsdrops its private copy and uses the shared check too.Tests (
packages/core/test/remote-health.test.ts)unknownstatus, notwarn.null.TCC.dbis missing but a protected folder can be read: the result is allowed.On this Mac the new check reports allowed. The branch has no conflicts with
main.Task #16 · done by Godmode with Godmode Bot