Mac下终端执行文件出现“Permission Denied”

先执行下面这一句

chmod a+x ./文件名

然后再正常执行文件就可以了

原文地址:https://www.cnblogs.com/FdWzy/p/13896359.html