# fix\(desktop\): report Safari's TCC denial as needing Full Disk Access · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/2b7849ac17703048105be7bd9271890e3edcc7d4)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 2b7849ac17703048105be7bd9271890e3edcc7d4

Requested commit: 2b7849ac17703048105be7bd9271890e3edcc7d4

Commit: 2b7849ac17703048105be7bd9271890e3edcc7d4

Tree: b213180c5530249aff65aaf47dce85f694ca038e

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(desktop): report Safari's TCC denial as needing Full Disk Access

A Safari import with no Full Disk Access failed with the generic "cookie
database could not be read" instead of telling the user to grant access — and
no prompt appears, because macOS never prompts for Full Disk Access; the app is
added by hand.

The denial arrives as EPERM, which Effect tags `Unknown`, not
`PermissionDenied` (that is EACCES), so checking the tag alone never matched.
The underlying errno is checked too. Verified against the real jar: the reason
is now `needsFullDiskAccess`, which the renderer maps to the System Settings
instruction.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

```

## Parents

- [23d6c1a34949587d3852ed52d789c2216ecd0a6a](https://git.cafe/pingdotgg/t3code/commit/23d6c1a34949587d3852ed52d789c2216ecd0a6a?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/2b7849ac17703048105be7bd9271890e3edcc7d4?format=markdown)
