spring-integration
spring-integration copied to clipboard
GH-9294: Set permissions to target file on rename
Fixes: #9294
When the deleteSourceFiles property of FileWritingMessageHandler is true, the chmod is not set on the target file.
- Fix
FileWritingMessageHandler.handleFileMessage()logic tosetPermissions(resultFile)aftermoveoperation
Auto-cherry-pick to 6.3.x & 6.2.x