You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/01/29 18:50:00 UTC

[jira] [Resolved] (IO-522) Symbolic links get followed in deleteQuietly

     [ https://issues.apache.org/jira/browse/IO-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved IO-522.
--------------------------------
    Fix Version/s: 2.9.0
       Resolution: Fixed

> Symbolic links get followed in deleteQuietly
> --------------------------------------------
>
>                 Key: IO-522
>                 URL: https://issues.apache.org/jira/browse/IO-522
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.5
>            Reporter: Daniel Temme
>            Assignee: Stian Soiland-Reyes
>            Priority: Critical
>             Fix For: 2.9.0
>
>
> IO-168 describes the problem. 
> `deleteQuietly` will behave correctly for nested symlinks but the initial call erroneously calls `cleanDirectory`. Calling `deleteDirectory` and returning would probably be the better behaviour (analogous to `forceDelete`)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)