ServiceFramework icon indicating copy to clipboard operation
ServiceFramework copied to clipboard

centos下启动脚本时报错

Open zhouzhenhao opened this issue 12 years ago • 2 comments

@allwefantasy 刚接触linux 在centos下启动run.sh时出错了 出错信息是: -bash:./bin/run.sh:Permission denied 不知道为什么

zhouzhenhao avatar Nov 05 '12 09:11 zhouzhenhao

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 avatar Nov 05 '12 10:11 sunfuze

@sunfuze 说的没错。 首先确保脚本有可执行权限。你需要

chmod u+x run.sh

之后再看看可以不。 一般不需要root权限去运行。

allwefantasy avatar Nov 06 '12 06:11 allwefantasy