Repository navigation
Studio: let managed accounts run terminal and Python tools on macOS - #16579
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
For a managed account on macOS, terminal and Python tools run under This is not specific to the reporter's macOS 27.2. On a Mac mini with macOS 14.5, main and this PR merged into it:
The four account confinement test files pass on the Mac (29 passed, 26 Linux-only skips). CI is clear at CI still skips the new test, since no job runs the backend tests on macOS. |
On macOS, every terminal and Python tool call from a managed account failed with
Exit code -6and no output, at both Sandbox Low and High. The managed-account sandbox let tools read file metadata but not the root directory itself. dyld reads/when a process starts, so the tool aborted before running anything. The owner was not affected, because the owner's sandbox already allows reading/.The managed-account sandbox now allows reading
/itself, the same as the owner's, so terminal and Python tools run for managed accounts again. The rule covers only the root directory entry. Everything under it that was blocked before is still blocked, including the owner's Studio files and the user's home folder.Fixes #16551