This isn't a camel specific answer, but wouldn't you better off just setting a default ACL for directories being written to?
If you wanted to use camel, perhaps you could use the exec component and derive the filename from your message to run `chmod` against it. On Sep 15, 2011, at 3:48 AM, kinght007 wrote: > I am using camel to write to create a number of files. > The application is deployed in a application server. > Is there anyway to tell configure camel to create these files with r-w-x > permissions for everyone? > > My problem is that another process outside the JVM running the camel > application, wants to delete some of these files at the end of the day. this > is failing because the files are owned by the user the application server is > running under. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-file-endpoint-permissions-tp4806367p4806367.html > Sent from the Camel - Users mailing list archive at Nabble.com.