I am getting an issue on Mac mini (Late 2014) after upgrading it from 10.14.6 to macOS Monterey 12.7.3 through downloading installer from App Store. It says it cannot open a perl script. I've given the full disk access to terminal, sshd-keygen-wrapper. I am still getting the same issue. I am able to run the script directly from my ssh terminal but when automation tool (through ssh) tries to run the script the error is getting. /NFSmountDir is actually /System/Volumes/Data/NFSmountDir
Solved
Can't open perl script "/NFSmountDir/Script.pl": Operation not permitted.

Best answer by bibinthomasa
I am wondering what security within the newer version of MacOS that is blocking the script from being ran.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.