{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreifmqkxugdey6qzt3qqxyplipjz6gf3isye7bzbeg7762no334ejku",
    "uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mnlh6k5mnku2"
  },
  "path": "/t/codex-terminal-not-opening/1382344#post_2",
  "publishedAt": "2026-06-05T22:58:31.000Z",
  "site": "https://community.openai.com",
  "textContent": "If Ctrl + J does not open the terminal in Codex, but only for a specific project, first check whether Git trusts that repository.\n\nRun this inside the project:\n\n`git status`\n\nIf you see an error like:\n\n`fatal: detected dubious ownership in repository`\n\nit means the repo was created or owned by a different user, such as a sandbox, admin account, WSL, VM, or agent runtime. Because of that, Codex cannot resolve the Git root for that project, and the terminal shortcut may appear broken only in that project.\n\nFix it with:\n\n`git config --global --add safe.directory C:/path/to/project`\n\nExample:\n\n`git config --global --add safe.directory C:/Users/MyUser/Documents/my-projects`\n\nThen restart Codex or open a new thread and try Ctrl + J again.\n\nIt’s not actually a Ctrl + J problem. Codex cannot resolve the project because Git blocks the repo with a dubious ownership error. Add the project to Git’s safe.directory, restart Codex, and the terminal should work again.",
  "title": "Codex Terminal not Opening?"
}