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 2023/04/25 20:36:00 UTC
[jira] [Closed] (IO-576) FileUtils.deleteDirectory() doesn't specify how it handles links
[ https://issues.apache.org/jira/browse/IO-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory closed IO-576.
------------------------------
Fix Version/s: 2.12.0
Resolution: Fixed
> FileUtils.deleteDirectory() doesn't specify how it handles links
> ----------------------------------------------------------------
>
> Key: IO-576
> URL: https://issues.apache.org/jira/browse/IO-576
> Project: Commons IO
> Issue Type: Improvement
> Components: Utilities
> Affects Versions: 2.5
> Environment: Linux
> Reporter: david cogen
> Priority: Major
> Labels: documentation
> Fix For: 2.12.0
>
>
> If the directory I specify to FileUtils.deleteDirectory() contains a symbolic link, does it follow the link and delete all the files the link points to?
> (I HOPE not!)
> But without the promise, I consider this too dangerous to contemplate using.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)