Can’t execute binary file – linux

terminal

The Problem

Executing binary file in terminal fails returning “Can’t execute binary file”.

Fix

In terminal enter “chmod +x [filename]”

Why

chmod +x adds the permission for the user to execute the binary file.

—————–
References

chmod. Wikipedia. URL:http://en.wikipedia.org/wiki/Chmod. Accessed: 2009-04-10. (Archived by WebCite® at http://www.webcitation.org/5fvIhQ3Zg)

Related Posts

MikeGrace: A 25 year old Geek that loves his wife and enjoys tech, photography, outdoors, and his motorcycle.

Discussion

No comments yet, be the first.

Leave a Comment