title: Can't execute a file even after giving full permissions (in linux)
body: <p>I compiled my C code using <code>gcc</code> and it gave me a <code>.out</code> file. Now I am trying to execute the output file using terminal it keeps on showing me some error</p>
  <blockquote>
  <p><code>fish: The file “./core.out” is not executable by this user</code>.</p>
  </blockquote>
  <p>I am using fish shell - But I am getting same error on bash shell as well. I can't understand what could be the reason for this.</p>
  <p>Command I used for <code>gcc</code></p>
  <blockquote>
  <p><code>gcc core.c -o core.out</code></p>
  </blockquote>
  <p>Output of <code>file core.out</code> is</p>
  <blockquote>
  <p><code>core.out: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, &gt; BuildID[sha1]=28e5ebcbdf1336774f74c7167a529a05af4e236b, for GNU/Linux 3.2.0, not stripped</code>.</p>
  </blockquote>
  <p>Error I am getting is:</p>
  <p><a href="https://i.stack.imgur.com/gzbSH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gzbSH.png" alt="enter image description here" /></a></p>