You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Boris Unckel (Jira)" <ji...@apache.org> on 2021/01/29 12:23:00 UTC
[jira] [Commented] (IO-522) Symbolic links get followed in
deleteQuietly
[ https://issues.apache.org/jira/browse/IO-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17274393#comment-17274393 ]
Boris Unckel commented on IO-522:
---------------------------------
This has been solved [https://github.com/apache/commons-io/blob/fa59009aaabcf8671a8d741993ef355f42b95ccd/src/main/java/org/apache/commons/io/file/DeletingPathVisitor.java#L136]
Please close the issue.
> 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
>
> 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)