Files
NexusOS/bin
Jon WingenderandClaude Sonnet 5 c211be57a1 fix(install): force exec bits from git's index on every restore
core.fileMode=false (repo-local or a machine-wide /etc/gitconfig) can
silently drop the +x bit on every tracked script during checkout, which
then surfaces later as a confusing "Permission denied" on whatever
script happens to run next rather than as an obvious failure up front.
ensure_exec_bits() re-applies +x from `git ls-files -s` (mode 100755)
right after every pull, so a restore is self-healing regardless of cause.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 11:58:13 -05:00
..