[cs631apue] Readlink errors
Tejas Nadkarni
tnadkarn at stevens.edu
Sat Oct 5 20:59:23 EDT 2013
I'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've run into existing symlinks that don't work and I believe is
a permissions issue.
How are you handling this?
for example if I run "./ls -l /etc/" on my Ubuntu VM....
It works on this...
blkid.tab -> /dev/.blkid.tab
but not on this...
vtrgb -> Could't read link
and many others.
I've had no issues on symlinks I've created so far.
Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20131005/3f476577/attachment.html>
More information about the cs631apue
mailing list