http://www.perlmonks.org?node_id=1178059


in reply to Re^2: how to handle the warnings in a find statement
in thread how to handle the warnings in a find statement

Being an administrator and running with elevated permissions are not the same thing

More about these "magic dirs", can be found here under junctions https://msdn.microsoft.com/en-us/library/windows/desktop/aa365006(v=vs.85).aspx and here https://msdn.microsoft.com/en-us/library/windows/desktop/aa365503(v=vs.85).aspx

It seems file::find sees them as a normal direcory, and doesnt have the permissions to "reparse" them.

edited to add: see also readlinkL under http://search.cpan.org/~rboisvert/Win32-LongPath-1.03/lib/Win32/LongPath.pm and Re: Trouble with File::Find::Rule