title: fopen is not working with softlink
body: <p>Linux- Red Hat</p>
  
  <p>I am running my binary with chroot in <code>/var/ROOT/</code> location
  now there is a soft link  between two files</p>
  
  <pre><code>ln -s /usr/local/rmgr.txt /var/ROOT/usr/local/rmgr.txt
  
  ll /usr/local/rmgr.txt
  
  prw-r--r--    1 root     root            39 Nov 25 12:04 /usr/local/rmgr.txt
  
  ll /var/ROOT/usr/local/rmgr.txt
  
  lrwxrwxrwx    1 root     root           39 Nov 25 12:04 /var/ROOT/usr/local/rmgr.txt -&gt; /usr/local/rmgr.txt
  </code></pre>
  
  <p>in my binary I have used function fopen</p>
  
  <pre><code>fopen("/usr/local/rmgr.txt","r")
  </code></pre>
  
  <p>but some how not getting this file !</p>
  
  <pre><code>Error Opening File : /usr/local/rmgr.txt.
  </code></pre>