当前位置: 技术问答>linux和unix
[求助]这个目录下的文件,如何执行啊??
来源: 互联网 发布时间:2016-10-23
本文导语: > ls -l /opt/mqm/bin/crtmqm -r-sr-s--- 1 mqm mqm 239001 May 19 2005 crtmqm /opt/mqm/bin> file crtmqm crtmqm: setuid setgid executable, regular file, no read permission /opt/mqm/bin> ./crtmqm -ksh: ./crtmqm: cannot execute [Permission denied] /opt/mq...
> ls -l /opt/mqm/bin/crtmqm
-r-sr-s--- 1 mqm mqm 239001 May 19 2005 crtmqm
/opt/mqm/bin> file crtmqm
crtmqm: setuid setgid executable, regular file, no read permission
/opt/mqm/bin> ./crtmqm
-ksh: ./crtmqm: cannot execute [Permission denied]
/opt/mqm/bin> sh crtmqm
sh: crtmqm: Permission denied
大家帮忙想想办法,除了chmod +x crtmqm外。
-r-sr-s--- 1 mqm mqm 239001 May 19 2005 crtmqm
/opt/mqm/bin> file crtmqm
crtmqm: setuid setgid executable, regular file, no read permission
/opt/mqm/bin> ./crtmqm
-ksh: ./crtmqm: cannot execute [Permission denied]
/opt/mqm/bin> sh crtmqm
sh: crtmqm: Permission denied
大家帮忙想想办法,除了chmod +x crtmqm外。
|
权限不够。
不想chmod,就增加你的权限,修改/etc/group
不想chmod,就增加你的权限,修改/etc/group
|
根本就没有执行权限 当然不能执行 照下面的步骤来(第一步需要root或者mqm用户)
chmod +x /opt/mqm/bin/crtmqm
/opt/mqm/bin/crtmqm
chmod +x /opt/mqm/bin/crtmqm
/opt/mqm/bin/crtmqm
|
用root用户
chmod 0700 crtmqm
试试
chmod 0700 crtmqm
试试
|
没有别的办法了,让root给你权限吧