[bug #54263] find -L treats ENOENT and ENOTDIR differently

2018-09-18 Thread Tavian Barnes
Follow-up Comment #2, bug #54263 (project findutils): > find -L . -type l prints a list of symbolic links reachable from the current directory that do not resolve to accessible files. Hmm. I never considered this before, but does the use of "accessible" here imply that EACCES should also count?

[bug #54667] find -type l fails to find symlink on NTFS volumes under linux

2018-09-18 Thread Tavian Barnes
Follow-up Comment #3, bug #54667 (project findutils): I don't have ufsd to test with, but if I had to guess I'd say it's probably returning DT_REG in d_type for symlinks, but still returning S_IFLNK from stat() for them. Depending on whether stat() is called, you may get the right or the wrong ty