Unable to execute shebang scripts after chmod +x
I've been unable to run Python, Ruby, & Node scripts marked with a shebang.
Before preforming a a factory reset with the help from an Apple Genius, I was able to use chmod +x to make a script executable. Since the reset, the same scripts returns "permission denied". If I try to run the script with sudo, "unable to execute" is returned.
Any ideas of how to fix this? Based on my web searches, it may have to do with a noexec flag listed after using the mount command.
MacBook Pro (15-inch, 2017), macOS High Sierra (10.13.6)