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

Claus Ibsen updated CAMEL-2578:
-------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Task  (was: Bug)

> FileConsumerAbsoluteRootPathDefaultMoveTest deletes C:\Temp 
> ------------------------------------------------------------
>
>                 Key: CAMEL-2578
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2578
>             Project: Apache Camel
>          Issue Type: Task
>          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
>            Priority: Minor
>             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.

Reply via email to