Author Topic: -bash: No such file or directory  (Read 444 times)

Offline easher

  • Single posting newcomer
  • *
  • Posts: 1
-bash: No such file or directory
« on: May 22, 2019, 05:54:18 am »
Everything was working smoothly, but now when I try to build and run any program I get this message in the terminal.

-bash: /private/var/folders/pz/xkgkk_r9419749drrz7rz0cc0000gn/T/AppTranslocation/F762D9A1-1994-44D0-AC3E-0F394ACA66B1/d/CodeBlocks: No such file or directory

I have looked for a solution for hours but can't find anything, please help.

Offline Miguel Gimenez

  • Regular
  • ***
  • Posts: 334
Re: -bash: No such file or directory
« Reply #1 on: May 22, 2019, 09:18:52 am »
macOS generates randomized paths for applications as part of a malware protection scheme (Gatekeeper Path Randomization). Try to disable this "feature", but you will need good luck fighting Apple.