[App][Linux] Full access fails while loading AGENTS.md: bwrap Can't mkdir /.git

Open
#64,189 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
linux, rust
Domain
desktop, security

Research direction

Start by tracing how the desktop app starts a local session with Full access and loads AGENTS.md, then follow the Linux filesystem sandbox helper that invokes bwrap. Reproduce the failure and find why it attempts to create /.git without permission; done means Full access starts successfully and existing permission modes still work.

Written by the indexing model from the issue text.

Description

app bug sandbox

Selecting Full access in the desktop app for a local session fails before the turn starts:

failed to load AGENTS.md instructions for environment local: fs sandbox helper failed with status exit status: 1: bwrap: Can't mkdir /.git: Permission denied

Retrying in the app still fails. Expected: the session starts with the selected permission mode. Actual: the permission change fails during startup.

Dominant language
Rust
Stars
136k
Forks
21.6k
Avg merge
1m
Merged PRs (30d)
997

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.