Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: File find and samba share error

by haj (Chaplain)
on Jul 23, 2018 at 17:43 UTC ( #1219122=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1219122]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2019-11-19 10:17 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (95 votes). Check out past polls.