Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D13E818502 for ; Tue, 16 Feb 2016 21:51:18 +0000 (UTC) Received: (qmail 53959 invoked by uid 500); 16 Feb 2016 21:51:18 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 53888 invoked by uid 500); 16 Feb 2016 21:51:18 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 53842 invoked by uid 99); 16 Feb 2016 21:51:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2016 21:51:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2A9FE2C1F5D for ; Tue, 16 Feb 2016 21:51:18 +0000 (UTC) Date: Tue, 16 Feb 2016 21:51:18 +0000 (UTC) From: "Nicolas Mugnier (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-9607) chmod does not work for the File producer whitout setting a charset MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-9607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149382#comment-15149382 ] Nicolas Mugnier commented on CAMEL-9607: ---------------------------------------- Hi Claus, No, I don't think so. 1) The point is, without specifying the charset, I'm exiting the method due to the "return true" of the "if (filebased)" block at line 233 2) I'm running the application under Linux (Ubuntu 15.10) and Java 7. What do you think about it ? Best, Nicolas. > 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)