commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcos Vinícius da Silva (Updated) (JIRA) <>
Subject [jira] [Updated] (IO-295) FileUtils.isSymlinks misses symlink folders
Date Sat, 17 Mar 2012 21:36:37 GMT


Marcos Vinícius da Silva updated IO-295:

    Attachment: IO-295.patch

I thought a, in my opinion, workaround implementation: on windows, execute a dir command on
the symlink and check if it contains <SYMLINK> or <SYMLINKD> (for files and directories).
I attached a prototype patch. If the idea get accepted, I'll work to improve the patch (maybe
use commons exec?).
> FileUtils.isSymlinks misses symlink folders
> -------------------------------------------
>                 Key: IO-295
>                 URL:
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Windows 7 64 bit, Oracle Java 7
>            Reporter: Ron Gross
>         Attachments: IO-295.patch
> I created a symlink folder via mklink.
> Then, while debugging, I noticed that FileUtils.isSymlink() returns false on this directory,
while Java 7's Files.isSymbolicLink() returns true.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message