[ 
https://issues.apache.org/jira/browse/CAMEL-9607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148945#comment-15148945
 ] 

Claus Ibsen commented on CAMEL-9607:
------------------------------------

I think you are mistaking that code block ends before, the chmod is not in the 
charset block.

Maybe you are on a OS that do not support file permissions. See the javadoc of 
java.nio.file.Files#setPosixFilePermissions

> chmod does not work for the File producer whitout setting a charset
> -------------------------------------------------------------------
>
>                 Key: CAMEL-9607
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9607
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.15.2
>         Environment: linux java 7
>            Reporter: Nicolas Mugnier
>              Labels: bug, easyfix
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Hello
> https://github.com/apache/camel/blob/camel-2.15.2/camel-core/src/main/java/org/apache/camel/component/file/FileOperations.java
> Permissions are never updated without setting a charset.
> The block code at line 280 seems to be at the wrong place.
> Best,
> Nicolas.



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

Reply via email to