主题 : -/bin/sh: ./: Permission denied问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 17969
精华: 0
发帖: 15
金钱: 75 两
威望: 15 点
贡献值: 0 点
综合积分: 30 分
注册时间: 2010-04-03
最后登录: 2010-05-22
楼主  发表于: 2010-05-12 10:35

 -/bin/sh: ./: Permission denied问题

复制代码
  1. [root@FriendlyARM /]# cd /usr/local/sbin/mde-1.6.10/bomb
  2. [root@FriendlyARM bomb]# ./ bomb
  3. -/bin/sh: ./: Permission denied
  4. [root@FriendlyARM bomb]# ls -l bomb
  5. -rwxrwxrwx    1 root     root        69780 May 11  2010 bomb


bomb 是MiniGUI的程序,已经对bomb用过chmod 777命令了,可是还是出现上述的错误,请问是怎么回事……?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-05-12 12:48
不是./<空格>bomb, 而是./bomb, 表示执行当前目录下的bomb文件。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2010-05-12 15:16

 回 2楼(mondayblue) 的帖子

呵呵,那你就加吧。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-05-12 15:58

 回 4楼(mondayblue) 的帖子

为什么你不在发帖之前先看看别人的帖子呢?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."