macbook file user permissions changed by claude code after editing

Resolved 💬 3 comments Opened Apr 6, 2026 by avnishbm Closed May 20, 2026

Bug Description
In macbook, editing a file by claude code changes the file permissions e.g. if a file has read and write access for 2 users, A & B, after edit by claude code, only B has read and write permission, where B is the current logged in user. This behaviour is not seen with codex!

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.92
  • Feedback ID: b4a51c7c-bd9d-4001-b96e-d23d574fc5aa

Errors

[{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CZnF9GSknEgwNuQquVyPA\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:51890)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4942)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T09:00:52.128Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗