in reply to File find and samba share error

I've seen that behaviour for a samba share, too. A reasonable guess is to prevent File::Find from relying on the nlink counter:

use File::Find; $File::Find::dont_use_nlink = 1;

Apparently for network file systems File::Find fails to auto-detect whether it can rely on nlinks.

Replies are listed 'Best First'.
Re^2: File find and samba share error
by ed1023 (Initiate) on Jul 23, 2018 at 18:53 UTC

    Hi Haj,

    Thanks dont_use_nlink = 1 did the trick