Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.15.2
-
None
-
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.