<div dir="ltr">I&#39;m using readlink to read symlinks to determine their actual target and print it out as part of the longformat. This seems to work for links I create but I&#39;ve run into existing symlinks that don&#39;t work and I believe is a permissions issue.<div>
<br></div><div>How are you handling this? </div><div><br></div><div>for example if I run &quot;./ls -l /etc/&quot; on my Ubuntu VM....</div><div><br></div><div>It works on this...</div><div>blkid.tab -&gt; /dev/.blkid.tab<br>
</div><div><br></div><div><br></div><div>but not on this...</div><div><br></div><div><div>vtrgb -&gt; Could&#39;t read link</div></div><div><br></div><div>and many others.</div><div><br></div><div>I&#39;ve had no issues on symlinks I&#39;ve created so far.</div>
<div><br></div><div>Thoughts?</div><div><br></div></div>