Skip to content

macOS Work mode can download files to Downloads but cannot organize them with shell commands #63702

Backlog

Description

@RazeBerry

What version of the Codex App are you using?

Codex Desktop 26.1120.41243, as reported by the client.

What platform is your computer?

macOS 27.0.1 on Apple Silicon. uname -mprs: Darwin 27.0.0 arm64 arm.

What issue are you seeing?

In a macOS Work project, Codex successfully downloaded 28 PDFs through Firefox to the Mac's ~/Downloads. I then asked it to consolidate and rename those files in a single folder in Downloads using commands. The shell could read and verify every original, but it could not create the destination folder. The managed approval policy also rejected the attempted escalation before it could show an approval prompt.

Codex instead produced a renamed copy inside its project workspace and initially reported the files as organized. The requested folder never appeared in Downloads, and all 28 loose files remained there. This made the result look complete even though the requested local file operation had not happened.

What steps can reproduce the bug?

  1. Start a macOS Work conversation in a managed project using the workspace-write sandbox. Use a project where ~/Downloads is outside the writable roots and sandbox_approval is disabled.
  2. Have Codex download a few files through desktop Firefox to ~/Downloads.
  3. Ask Codex to use shell commands to create a subfolder of ~/Downloads and move or rename the downloaded files into it.
  4. From the Codex shell, run:
mkdir "$HOME/Downloads/History_Journal_Articles"

The command returned mkdir: /Users/<redacted>/Downloads/History_Journal_Articles: Operation not permitted. Retrying with sandbox_permissions: require_escalated was rejected because granular policy has sandbox_approval: false.

What is the expected behavior?

Once the user has approved a download and asked Codex to organize those same files, provide a supported way to grant narrowly scoped write access to the downloaded files and the named destination folder, subject to the managed policy. If that policy disallows the operation, surface the restriction before reporting success and state exactly where any fallback files were saved.

Additional information

Related: #63270 also describes a Work shell with workspace-only write access. This reproduction concerns a browser-to-shell handoff under the managed workspace-write policy. It does not assume Full access was selected.

Activity

  1. added
    bug
    app
    sandbox
    model-behavior
    on Nov 24, 2026
  2. github-actions commented on Nov 24, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugmodel-behaviorsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions