Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.15.2
-
Fix Version/s: 2.17.0
-
Component/s: camel-core
-
Labels:None
-
Environment:
java 7 and Linux
Description
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.