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

Claus Ibsen resolved CAMEL-9610.
--------------------------------
    Resolution: Fixed

There is a chmodDirectory option now from Camel 2.17 onwards.

> Chmod does not work properly with "recursive=true"
> --------------------------------------------------
>
>                 Key: CAMEL-9610
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9610
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.15.2
>         Environment: java 7 and Linux
>            Reporter: Nicolas Mugnier
>            Assignee: Claus Ibsen
>             Fix For: 2.17.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Hello,
> It seems that the chmod does not work properly with the "recursive=true" URI 
> option.
> The chmod is only applied on the file, not also on the parent directories.
> Example:
> <camel:from 
> uri="file:{{local.inputDir}}?readLock=changed&amp;consumer.delay=2000&amp;recursive=true"
>  />
> <camel:to 
> uri="file:{{local.outputDir}}?chmod={{output.chmod}}&amp;charset={{charset}}"/>
> If I paste a file into my input directory, everything works properly.
> However, if I paste a directory into my input directory, only the "final' 
> files will be chmoded. The parent directories of the file, located in my 
> output directory, are not chmoded.
> Best,
> Nicolas.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to