<div>Hi Rob,</div>
<div> </div>
<div> I have came across a condition in dirtree_add_node(), where we are reading the link even though symfollow is not set :-</div>
<div> </div>
<div> if (S_ISLNK(st.st_mode) {<br> if (0>(linklen = readlinkat(fd, name, buf, 4095))) goto error;<br> buf[linklen++]=0; <br> } </div>
<div> In this senario if we land in readonly links it shouts that the link is not present, even thogh we are not following links.</div>
<div> I think condition should be </div>
<div> if (S_ISLNK(st.st_mode) && symfollow). whats your opinion?</div>
<div> </div>
<div> And one more thing:-</div>
<div> I am using xreadfile() function present in lib.c but it is commented. Do you mind uncommenting it?</div>
<div> </div>
<div> </div>
<div>Regards</div>
<div>Sandeep </div>