"Inappropriate ioctl" output shown during thinking sometimes when using git
Open 💬 0 comments Opened May 13, 2026 by siddhpant
What version of Codex CLI is running?
v0.130.0
What subscription do you have?
Enterprise
Which model were you using?
gpt-5.5
What platform is your computer?
Debian testing
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
Basically during thinking:
• Ran git status --short
└ stty: 'standard input': Inappropriate ioctl for device
Failed to create stream fd: Operation not permitted
Failed to create stream fd: Operation not permitted
Failed to create stream fd: Operation not permitted
[...]
• Ran git log --all [...] --pretty=format:'%h%x09%ad%x09%s'
└ stty: 'standard input': Inappropriate ioctl for device
Failed to create stream fd: Operation not permitted
… +4 lines (ctrl + t to view transcript)
0123456789ab 2026-04-28 commit title b
9876543210ba 2026-04-27 commit title a
The command actually succeeds, and codex parses the output it seems.
What steps can reproduce the bug?
Something which triggers thinking which leads to codex running those commands.
What is the expected behavior?
No errors like that shown.
Additional information
_No response_