# cannot execute binary file

**URL:** <https://community.unix.com/t/cannot-execute-binary-file/216785>\
**Category:** Linux\
**Created:** [October 16, 2008, 10:24am UTC](https://community.unix.com/t/cannot-execute-binary-file/216785 "2008-10-16T10:24:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![durgaprasadr13](https://community.unix.com/letter_avatar/durgaprasadr13/32/6_449c533f586939b6e5f246632a46421f.png) [@durgaprasadr13](https://community.unix.com/u/durgaprasadr13)\
**Post date:** [October 16, 2008, 10:24am UTC](https://community.unix.com/t/cannot-execute-binary-file/216785/1 "2008-10-16T10:24:27Z")

</div>

We are getting one error when we execute the binary file below mentioned, and ownership goes to root:nobody, how to resolve this problem.

sh /home/pub/bin/awk: cannot execute binary file  
😕

Pls help me out .

---

<div class="post-metadata">

**Author:** ![durgaprasadr13](https://community.unix.com/letter_avatar/durgaprasadr13/32/6_449c533f586939b6e5f246632a46421f.png) [@durgaprasadr13](https://community.unix.com/u/durgaprasadr13)\
**Post date:** [October 16, 2008, 10:26am UTC](https://community.unix.com/t/cannot-execute-binary-file/216785/2 "2008-10-16T10:26:40Z")

</div>

Please help in this issue.

---

<div class="post-metadata">

**Author:** ![jim\_mcnamara](https://community.unix.com/letter_avatar/jim_mcnamara/32/6_449c533f586939b6e5f246632a46421f.png) [@jim\_mcnamara](https://community.unix.com/u/jim_mcnamara)\
**Post date:** [October 16, 2008, 10:29am UTC](https://community.unix.com/t/cannot-execute-binary-file/216785/3 "2008-10-16T10:29:24Z")

</div>

Logon as root

```nohighlight
chown bin:bin /usr/bin/awk
chmod 555 /usr/bin/awk

```

You may not have a bin user group for some reason, but this is a common setting.
