You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/03/26 09:11:08 UTC

[jira] Resolved: (CAMEL-2578) FileConsumerAbsoluteRootPathDefaultMoveTest deletes C:\Temp

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

Claus Ibsen resolved CAMEL-2578.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0
         Assignee: Claus Ibsen

> FileConsumerAbsoluteRootPathDefaultMoveTest deletes C:\Temp 
> ------------------------------------------------------------
>
>                 Key: CAMEL-2578
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2578
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: tests
>         Environment: Windows is more likely to be affected than anything else, but the test makes assumptions on all platforms.
>            Reporter: Jim Talbut
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> The FileConsumerAbsoluteRootPathDefaultMoveTest test contains:
>     @Override
>     protected void setUp() throws Exception {
>         base = "/temp";
>         deleteDirectory(base);
>         super.setUp();
>     }
> This deletes C:\Temp, and its entire contents, without any warning.
> This risks:
> * Losing things that the user does not want to lose (at a potential cost of both time and money).
> * Breaking other programs storing files there.
> * Falling foul of sensible permissions that prevent normal users from creating/deleting files in the root.
> It also leaves the /temp file there after execution, which it has no right to do.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.