chinamida 发表于 2004-6-7 08:58:46

ROOT口令登陆运行脚本提示权限不足

本来想建立一个LINUX服务器下的CS服务器
建立脚本cs.sh
#/bin/bash/
export LD_LIBRARY_PATH=/root/hlds_l:$LD_LIBRARY_PATH
cd /root/hlds_l
/root/hlds_l/hlds_run -game cstrike +port 27015 -insecure +sv_lan 1 +maxplayers 24 +map de_dust2 -nomaster &

当在/root下运行./cs.sh是提示权限不足
请问问题出在那里呢
希望大家能够帮助

winme 发表于 2004-6-7 09:56:31

给这个脚本赋予可执行的权限!
chmod 777 cs.sh
然后执行就可以了

flashor 发表于 2004-6-7 18:21:20

sh ./cs.sh
或者
chmod +x cs.sh
./cs.sh
页: [1]
查看完整版本: ROOT口令登陆运行脚本提示权限不足