commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Temme (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IO-522) Symbolic links get followed in deleteQuietly
Date Mon, 14 Nov 2016 14:36:58 GMT
Daniel Temme created IO-522:
-------------------------------

             Summary: 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
            Priority: Critical


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
(v6.3.4#6332)

Mime
View raw message