We are creating a folder structure and writing files to this newly created folder structure using data in the channel. The problem we have is that the folder is to be updated/deleted by another user. Is there a way we can set folder/file permission explicitly using SI file outbound adapter?
<int-file:outbound-channel-adapter id="fileLoggingAdapter" auto-create-directory="true" directory-expression="headers['FileDetails'].directory"
filename-generator-expression="headers['FileDetails'].fileName+'.csv'" />