ServiceFramework
ServiceFramework copied to clipboard
centos下启动脚本时报错
@allwefantasy 刚接触linux 在centos下启动run.sh时出错了 出错信息是: -bash:./bin/run.sh:Permission denied 不知道为什么
On 2012年11月05日 17:54, zhouzhenhao wrote:
刚接触linux 在centos下启动run.sh时出错了 出错信息是: -bash:./bin/run.sh:Permission denied 不知道为什么
— Reply to this email directly or view it on GitHub https://github.com/allwefantasy/ServiceFramework/issues/25.
用户权限不够,sudo ./bin/run.sh 就行了
@sunfuze 说的没错。 首先确保脚本有可执行权限。你需要
chmod u+x run.sh
之后再看看可以不。 一般不需要root权限去运行。