1

I have a folder with binaries on macos added to PATH. I get "binary-name cannot be opened developer can't be verified" when trying to execute them.

I know I can manually verify each binary in system settings, but I have dozens of them. Is there any way how to verify all of them at once or exclude folder from developer check.

morris
  • 29
  • 3
  • `sudo spctl --master-disable` should do the trick on Catalina (I'm not sure about BigSur and Monterey); well, at least Apple shows a clear message now, before it was something like "The archive is corrupted" – Fravadona Jan 26 '22 at 15:59
  • Are the binaries quarantined? You can use `ls -l@` to view their extended attributes, and if you see `com.apple.quarantine` xattrs listed, that's probably what's triggering the signature checks. – Gordon Davisson Jan 26 '22 at 18:49
  • @GordonDavisson yes, they are quarantined – morris Jan 26 '22 at 19:30
  • `xattr -d com.apple.quarantine *` solved the problem. Thanks! – morris Jan 26 '22 at 19:37
  • @morris Excellent! We have some other questions with slightly different symptoms, but the same basic cause & solution, so I'll mark this as a duplicate of those. – Gordon Davisson Jan 27 '22 at 00:39

0 Answers0