Skip to content

fix(tools): let sandboxed open reach Launch Services - #395

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/sandbox-open-launch-services
Aug 18, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
fix/sandbox-open-launch-services

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

open <path> does not read the file; it asks launchservicesd to hand it
to another app. That needs appleevent-send and user-preference-read.
Without them, open fails with kLSApplicationNotFoundErr / -54 even
though the file is readable.

Those apps are not confined, and the same rights let osascript drive
GUI apps. Accepted so open works the way it did before confinement.

`open <path>` does not read the file; it asks launchservicesd to hand it
to another app. That needs appleevent-send and user-preference-read.
Without them, open fails with kLSApplicationNotFoundErr / -54 even
though the file is readable.

Those apps are not confined, and the same rights let osascript drive
GUI apps. Accepted so open works the way it did before confinement.
@github-actions
github-actions Bot enabled auto-merge (squash) August 18, 2026 19:09
@github-actions
github-actions Bot merged commit 3f7cc6c into main Aug 18, 2026
8 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
`open <path>` does not read the file; it asks launchservicesd to hand it
to another app. That needs appleevent-send and user-preference-read.
Without them, open fails with kLSApplicationNotFoundErr / -54 even
though the file is readable.

Those apps are not confined, and the same rights let osascript drive
GUI apps. Accepted so open works the way it did before confinement.
mohitranka added a commit that referenced this pull request Sep 11, 2026
`open <path>` does not read the file; it asks launchservicesd to hand it
to another app. That needs appleevent-send and user-preference-read.
Without them, open fails with kLSApplicationNotFoundErr / -54 even
though the file is readable.

Those apps are not confined, and the same rights let osascript drive
GUI apps. Accepted so open works the way it did before confinement.
mohitranka added a commit that referenced this pull request Sep 11, 2026
`open <path>` does not read the file; it asks launchservicesd to hand it
to another app. That needs appleevent-send and user-preference-read.
Without them, open fails with kLSApplicationNotFoundErr / -54 even
though the file is readable.

Those apps are not confined, and the same rights let osascript drive
GUI apps. Accepted so open works the way it did before confinement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant