Follow-up Comment #7, bug #25294 (project findutils):

federico, please indicate what version of find you are using.  Also, can you
proproduce the problem with a script which creates a suitable example?  (I
don't have your ~/.mozilla directory here!)



I'm suspicious of this part of the system call trace:

--- SIGCHLD (Child exited) @ 0 (0) ---
newfstatat(7, "cookies.sqlite-journal", 0x131ab00, AT_SYMLINK_NOFOLLOW) = -1
ENOENT (No such file or directory)
lstat("cookies.sqlite-journal", 0x7fff7880b330) = -1 ENOENT (No such file or
directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 6


... because I'm not convinced that fd 7 corresponds to the working directory,
so the lstat could fail or return the wrong information.

My guess is that the lstat call is inside symlink_loop() which is called at
line 462 of ftsfind.c (i.e. for the FTS_NS case).


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25294>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to