问题
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