Skip to content

Conversation

@artembilan
Copy link
Member

Fixes: #9294

When the deleteSourceFiles property of FileWritingMessageHandler is true, the chmod is not set on the target file.

  • Fix FileWritingMessageHandler.handleFileMessage() logic to setPermissions(resultFile) after move operation

Auto-cherry-pick to 6.3.x & 6.2.x

Fixes: spring-projects#9294

When the `deleteSourceFiles` property of `FileWritingMessageHandler` is `true`, the `chmod` is not set on the target file.

* Fix `FileWritingMessageHandler.handleFileMessage()` logic to `setPermissions(resultFile)` after `move` operation

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
@artembilan artembilan requested a review from sobychacko July 3, 2024 20:14
@artembilan artembilan merged commit 3e71ea5 into spring-projects:main Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When deleteSourceFiles is true, the setPermissions method of FileWritingMessageHandler should be called.

1 participant