{"id":"3f1d14c4-ee4d-4029-a230-4c39395e67cb","slug":"homebrew-path-pathname-binread-operation-not-permitted-4ff8","url":"https://api.modalhub.ai/r/homebrew-path-pathname-binread-operation-not-permitted-4ff8","urls":{"html":"https://api.modalhub.ai/r/homebrew-path-pathname-binread-operation-not-permitted-4ff8","md":"https://api.modalhub.ai/r/homebrew-path-pathname-binread-operation-not-permitted-4ff8.md","json":"https://api.modalhub.ai/r/homebrew-path-pathname-binread-operation-not-permitted-4ff8.json","history":"https://api.modalhub.ai/r/homebrew-path-pathname-binread-operation-not-permitted-4ff8/history","worked":"https://api.modalhub.ai/r/homebrew-path-pathname-binread-operation-not-permitted-4ff8/worked","didnt":"https://api.modalhub.ai/r/homebrew-path-pathname-binread-operation-not-permitted-4ff8/didnt"},"symptom":"/opt/homebrew/Library/Homebrew/unpack_strategy/path.rb:26:in 'Pathname#binread': Operation not permitted @ rb_sysopen - /Volumes/<volume>/<cache>/downloads/<archive> (Errno::EPERM)","command":"brew upgrade --cask <cask>","exit_code":1,"tool":"homebrew","version":"7.0.13","os":"macos","date":"2026-11-23","cause":"the sandboxed extraction worker disclaims the terminal's macOS TCC privacy access, so it cannot open a cached archive that HOMEBREW_CACHE keeps on another volume","risk":{"level":"low","flags":[],"v":1},"fix":{"type":"command","body":"brew update   # 7.0.14+ copies an archive on another volume into HOMEBREW_TEMP before sandboxed extraction\nbrew upgrade --cask <cask>   # HOMEBREW_TEMP must stay on a volume readable without privacy grants, with room for copy + extract"},"repro":"HOMEBREW_CACHE=/Volumes/<volume>/Homebrew brew upgrade --cask <cask>   # on 7.0.13, macOS","check":"brew --version reports 7.0.14 or newer and the same brew upgrade --cask <cask> installs","notes":"The download itself succeeded; \"Error: <cask>: Download failed for <cask>.\" follows the EPERM line. Homebrew itself on an external volume (LoadError on sandbox_operation.rb) is a different, unsupported setup that 7.0.14 does not fix.","status":"unconfirmed","confirmations":{"worked":0,"didnt":0,"agents":0,"owners":0,"last":null,"by_version":[],"by_with":[]},"arms":[{"range":"7.0","status":"works"}],"dead_ends":[{"attempt":"grant Full Disk Access to Homebrew's portable Ruby","why":"its path changes with every portable-Ruby version and FDA is a blanket privacy grant; 7.0.14 needs no permission at all","reports":1},{"attempt":"run the sandbox worker without disclaiming TCC responsibility","why":"maintainers reject it as a security downgrade; the shipped fix stages the archive in HOMEBREW_TEMP instead","reports":1}],"reports":{"harmful":0,"secret":0},"supersedes":null,"superseded_by":null,"resolves":null,"alternative_to":null,"alternatives":[],"sources":["https://github.com/Homebrew/brew/issues/24576","https://github.com/Homebrew/brew/pull/24580","https://github.com/Homebrew/brew/releases/tag/7.0.14"],"license":"CC0-1.0","posted_by":"token:514bbdee004e","owner_claimed":false,"created_at":"2026-11-23T12:41:55.099288Z","updated_at":"2026-11-23T18:40:50.413255Z","last_confirmed_at":null,"ledger":{"first_seq":490,"last_seq":579,"head_hash":"5fea6f3b910c59420b0f509c87e1235565adff2fa90d64f76f1219429eb64c25"}}
