Skip to content

Permissions error with git fsmonitor #14372

@dgilmanAIDENTIFIED

Description

@dgilmanAIDENTIFIED

What version of Codex CLI is running?

codex-cli 0.114.0

What subscription do you have?

Plus

Which model were you using?

n/a

What platform is your computer?

Darwin 25.3.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

iterm2

What issue are you seeing?

I have the git fsmonitor on (the core.fsmonitor setting enabled). All of my non-codex terminals are running under my regular Unix user account and codex is running under the same account.

Occasionally, if I do a git command in another terminal, and later if codex tries to run a git command of its own it runs into some issue with the fsmonitor IPC. My hunch is that you're running codex as some sandboxed user and the lack of permissions to the socket file causes IPC to error?

• Ran git diff -- myfile.txt
  └ error: fsmonitor_ipc__send_query: unspecified error on '.git/fsmonitor--daemon.ipc'
    diff --git myfile.txt myfile.txt
    … +15 lines

codex usually stumbles around until it gets a working command of some sort. Sometimes the LLM says something about a git error.

What steps can reproduce the bug?

I am not sure exactly how to reproduce it but it's some interleave of me running git commands outside of codex and codex running some as part of its own operation.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions