camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-9610) Chmod does not work properly with "recursive=true"
Date Thu, 18 Feb 2016 09:04:18 GMT


Claus Ibsen commented on CAMEL-9610:

Also we may want to have an option to configure dir permisisons so you can turn this on|off
and use different permissions for dirs vs files.

> Chmod does not work properly with "recursive=true"
> --------------------------------------------------
>                 Key: CAMEL-9610
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.15.2
>         Environment: java 7 and Linux
>            Reporter: Nicolas Mugnier
>   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

View raw message