Skip to content

fix(core): don't permit access to system directories#16891

Merged
adamdotdevin merged 3 commits intodevfrom
opencode/quick-wizard
Mar 10, 2026
Merged

fix(core): don't permit access to system directories#16891
adamdotdevin merged 3 commits intodevfrom
opencode/quick-wizard

Conversation

@adamdotdevin
Copy link
Member

Trying to eliminate all of the macOS permissions dialogs that popup when reading music/photos/contacts/etc directories (in the desktop app).


// macOS directories that trigger TCC (Transparency, Consent, and Control)
// permission prompts when accessed by a non-sandboxed process.
const DARWIN_NAMES = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name could be a little more descriptive, something like DARWIN_HOME or something but not a big deal

@adamdotdevin adamdotdevin merged commit 9c4325b into dev Mar 10, 2026
9 checks passed
@adamdotdevin adamdotdevin deleted the opencode/quick-wizard branch March 10, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants