cannot execute binary file
hi, guys,
I got a Back Track 2 installed in VMWare. I found all the files under /usr/bin cannot be executed. The error message is "cannot execute binary file" Also there is a '*' following the filenames like "file*" However, if I create a C program and gcc it, it works. Can someone tell me what's wrong ? Thanks a lot. |
When you compile a file with gcc, you do so with your user permissions, therefore you have permission to execute the file.
You may not have permission to execute files in /usr/bin, or, /usr/bin is not in your PATH environment variable. In that case, you must either give the full path to the executable to run it, cd to /usr/bin to run the executable, or add /usr/bin to your path. |
How are your partitions mounted? In particular, is /usr/bin or /usr on a separate partition? If so, what are the mount options on said partition?
|
All times are GMT -5. The time now is 04:26 PM. |