Skip to content

Conversation

@zerone0x
Copy link
Contributor

Summary

Fixes #9520

The bin/codex.js file was missing execute permissions (644 instead of 755), causing the codex command to fail after npm global installation.

Changes

  • Added execute permission (+x) to codex-cli/bin/codex.js

Verification

After this fix, npm tarballs will include the correct file permissions:

# Before: -rw-r--r-- (644)
# After:  -rwxr-xr-x (755)

🤖 Generated with Claude Code

The bin/codex.js file was missing execute permissions (644 instead of
755), causing the `codex` command to fail after npm global installation.

Fixes openai#9520

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@etraut-openai etraut-openai merged commit ca23b0d into openai:main Jan 20, 2026
10 of 17 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 2026
@zerone0x zerone0x deleted the fix/issue-9520-bin-execute-permission branch January 21, 2026 03:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bin/codex.js missing execute permission after npm install

2 participants