Update of bug #54913 (project findutils):

             Assigned to:                    None => berny                  

    _______________________________________________________

Follow-up Comment #1:

Nice catch - and a surprising use case of bind mounts!

And it's interesting that the output of the -ls action shows
the correct type again - of course, because that needs to do an
additional stat() on the file.

FWIW: this issue happens with all non-directory bind-mounts
on top of another type, e.g.
- socket -> regfile,
- regfile -> socket,
- character file -> socket
and so on.

I'll have to check if the change is done on the right place;
similar adjustment based on ent->ftsinfo are also in consider_visiting().

Furthermore, I'd like to get the coreutils-style test-framework
from gnulib into findutils, so that we could also have tests
like for this issue which require 'root' permissions.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to