You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/02/18 18:11:18 UTC
[jira] [Assigned] (CAMEL-9610) Chmod does not work properly with
"recursive=true"
[ https://issues.apache.org/jira/browse/CAMEL-9610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-9610:
----------------------------------
Assignee: Claus Ibsen
> 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&consumer.delay=2000&recursive=true" />
> <camel:to uri="file:{{local.outputDir}}?chmod={{output.chmod}}&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)