[bug #66374] Permissions errors from unnecessary attemp to read symlink targets

raf <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #1, bug #66374 (group findutils):

Hi. I'm fairly sure that it's not attempting to read the symlink target. But
rather, the -xtype predicate is attempting to follow the symlink in order to
obtain the type of the target. That's not the same thing as reading the
target. The -xtype predicate needs to stat the target, not read it. In other
words, it needs to read the target's inode, not its contents, but because of
the permissions of demo, it can't locate the inode. Hence the error message
about permissions.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66374>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZxrmbwAKCRCqLAuaBUf3
Tp4mAP49LYEQdKcUbhr75z6xyRbBZNgyJNNN7Zyo5mIWH73VngD/TgMWLdHxvu70
caTNgPW/PR/HVoFWkFr0JKtxwJW4mgg=
=uuFP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.