AIX : cannot execute binary file, 0403-006 execute permission denied

六眼飞鱼酱① 提交于 2019-12-13 05:16:12

问题


I am working on AIX 7. I like to know more in detail about the following error scenarios

  • cannot execute binary file
  • 0403-006 execute permission denied

for the first case, on search it was likely that,

when you are trying to run 64 bit software on a 32 bit OS, you may have that error. AIX is 64 bit, and I have been trying to use mysql by installing XAMPP, where I am getting the above error. I assume 32/64 bit software will be okay with 64 bit OS.

for the second case,

though I have logged in as a root, and file permissions are 755 [ -rwxr_xr_x ] execution permission is denied..

I will be very happy, if I could know why the above situations occur and the best way to resolve it.

Thanks in advance !!


回答1:


Use ls -l to list the permissions for your files in the directory

If the file concerned does not have x (execute) you need to add it

chmod a+x myfile.sh



来源:https://stackoverflow.com/questions/19398676/aix-cannot-execute-binary-file-0403-006-execute-permission-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!