主题 : 在嵌入式LINUX入门这一章中出问题了 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 8092
精华: 0
发帖: 2
金钱: 20 两
威望: 10 点
综合积分: 4 分
注册时间: 2009-08-09
最后登录: 2009-09-13
楼主  发表于: 2009-09-13 12:18

 在嵌入式LINUX入门这一章中出问题了

在嵌入式LINUX入门这一章中,把程序下载到目标板后,执行./hello,会报错-sh: ./hello: Permission denied,

请问是什么原因啊????
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-09-13 14:09
Linux基本常识:
hello这个文件需要有可执行属性,可以在开发板上用chmod a+x ./hello加上,然后再用./hello执行
"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."