Bug Report
Summary
After running bun install in the gbrain repo, the postinstall script fails with Permission denied on the gbrain binary.
Steps to Reproduce
- Clone gbrain repo
- Run
bun install
- Observe postinstall output
Error
/bin/bash: /Users/michael_claw/.bun/bin/gbrain: Permission denied
[gbrain] postinstall skipped. If installed via bun install -g github:...: run `gbrain doctor` and `gbrain apply-migrations --yes` manually.
Expected Behavior
Postinstall should either set the executable bit on the binary automatically, or not fail with a permission error.
Workaround
chmod +x ~/.bun/bin/gbrain
Environment
- OS: macOS Darwin 25.3.0 arm64
- Bun: 1.3.12
- gbrain: v0.19.0
Filed by
Peter Abilla (papiofficial) via OpenClaw agent
Bug Report
Summary
After running
bun installin the gbrain repo, the postinstall script fails withPermission deniedon the gbrain binary.Steps to Reproduce
bun installError
Expected Behavior
Postinstall should either set the executable bit on the binary automatically, or not fail with a permission error.
Workaround
chmod +x ~/.bun/bin/gbrainEnvironment
Filed by
Peter Abilla (papiofficial) via OpenClaw agent